, .
:
1. x.
, , (), :.
x = [ : : ],
1,
x = [ : ].
x.
2. y x.
.
3. plot(x, y) .
list_6
Figure No. 1 . , .
.
plot , , .
:
y | |||||
m | : | ||||
c | -. | ||||
r | + | -- | |||
g | * | ||||
b | s | ||||
w | d | ||||
k | v | ||||
^ | |||||
< | |||||
> | |||||
p | |||||
h |
3. list_6
: , , .
grid on.
xlabel, ylabel.
title. ( , title Courier.)
legend , .
TeX .
list_6:
, . ,
.
list_7
. legend . (0 ; 1 , 2 ; 3 , 4 ).
|
|
hold on.
plot(x, f, x, g)
plot(x, f)
hold on
plot(x, g).
list_7
:
subplot, : subplot(i, j, n), ij , n , .
,
0,298 | 0,303 | 0,310 | 0,317 | 0,323 | 0,330 | |
3,255 | 3,176 | 3,121 | 3,049 | 2,988 | 2,920 |
.
list_8.
: