4.1 THE plot COMMAND
plot(x,y,‘line specifiers’,‘PropertyName’,PropertyValue)
x,y分别是大小相等的Vector
Line Specifiers
solid (default) -
dotted :
dashed --
dash-dot -.
The line color specifiers
red r
green g
blue b
The marker type specifiers
plus sign +
circle o
asterisk *
例子
plot(x,y,‘g:d’)
plot(x,y,‘--y’)
Property Name and Property Value:
LineWidth
MarkerSize
MarkerEdgeColor
MarkerFaceColor
例子
plot(x,y,‘-mo’,‘LineWidth’,2,‘markersize’,12,‘MarkerEdgeColor’,‘g’,‘markerfacecolor’,‘y’)