Scilab Reference Manual |
---|
plot — simple plot
plot(x,y,[xcap,ycap,caption]) plot(y)
Plot y as function of x. xcap and ycap are captions for x-axis and y-axis respectively and caption is the caption of the plot.
Invoked with only one argument, plot(y) plots the y vector or, if y is a matrix, it plots all its row vectors on the same plot. This plot is done with respect to the vector 1:<number of columns of y>.
plot is obsolete. Use plot2d instead.
x=0:0.1:2*%pi; // simple plot plot(sin(x)) // using captions xbasc() plot(x,sin(x),"sin","time","plot of sinus") // plot 2 functions xbasc() plot([sin(x);cos(x)])
J.Ph.C.
<< plotframe | plzr >> |