x=
0 1 2 3 4 5 6 7
>> y=arcsin(sin(x))*(2/pi)
>> y=asin(sin(x))*(2/pi)
y=
>> plot(x,y)
>> x=linspace(0,2*pi,25);
>> y=asin(sin(2*x))*2/pi;
>> plot(x,y);
then the vector is plotted versus the rows or columns of the matrix,
X.
Various line types, plot symbols and colors may be obtained with
y yellow s square
k black d diamond
^ triangle (up)
p pentagram
h hexagram
the (X,Y,S) triples, where the X's and Y's are vectors or matrices
Note that RGB colors in the ColorOrder property may differ from
Example
x = -pi:pi/10:pi;
y = tan(sin(x)) - sin(tan(x));
plot(x,y,'--rs','LineWidth',2,...
'MarkerEdgeColor','k',...
'MarkerFaceColor','g',...
'MarkerSize',10)
See also plottools, semilogx, semilogy, loglog, plotyy, plot3, grid,
>> plot(X,Y,'g--')
>> plot(x,y,'g--')
>> plot(x,y,'g--','LineWidth',2)
grid OFF removes major and minor grid lines from the current axes.
grid MINOR toggles the minor grid lines of the current axes.
grid, by itself, toggles the major grid lines of the current axes.
the current axes. If the axes is a polar axes then grid sets
See also title, xlabel, ylabel, zlabel, axes, plot, box, polaraxes.
>> grid ON
>> grid MINOR
xlabel('text','Property1',PropertyValue1,'Property2',PropertyValue2,...)
H = xlabel(...) returns the handle to the text object used as the label.
>> xlabel(AX)
then the vector is plotted versus the rows or columns of the matrix,
X.
Various line types, plot symbols and colors may be obtained with
y yellow s square
k black d diamond
^ triangle (up)
p pentagram
h hexagram
the (X,Y,S) triples, where the X's and Y's are vectors or matrices
Note that RGB colors in the ColorOrder property may differ from
x = -pi:pi/10:pi;
y = tan(sin(x)) - sin(tan(x));
plot(x,y,'--rs','LineWidth',2,...
'MarkerEdgeColor','k',...
'MarkerFaceColor','g',...
'MarkerSize',10)
Plottools functions.
those tools that were visible the last time you used them will be shown.
For example, if you were only using the Property Editor most recently,
only the Property Editor will be shown when you type "plottools on" or
activate the plot tools from the toolbar. You can then show the rest by
below.
The last argument may be the name of a specific component, like so:
and 'propertyeditor'.
>>