Scilab Reference Manual |
---|
plot2d1 — 2D plot (logarithmic axes) (obsolete)
plot2d1(str,x,y,[style,strf,leg,rect,nax])
str | : is a string of length three "abc".
| ||||||||||||||
x,y,[style,strf,leg,rect,nax] | : these arguments have the same meaning as in the plot2d function. | ||||||||||||||
opt_args | : these arguments have the same meaning as in the plot2d function. |
This function is obsolete. Use plot2d instead.
plot2d1 plots a set of 2D curves. It is the same as plot2d but with one more argument str which enables logarithmic axis. Moreover, it allows to specify only one column vector for x when it is the same for all the curves.
By default, successive plots are superposed. To clear the previous plot, use xbasc.
Enter the command plot2d1() to see a demo.
// multiple plot without giving x x=[0:0.1:2*%pi]'; plot2d1("enn",1,[sin(x) sin(2*x) sin(3*x)]) // multiple plot using only one x xbasc() plot2d1("onn",x,[sin(x) sin(2*x) sin(3*x)]) // logarithmic plot x=[0.1:0.1:3]'; xbasc() plot2d1("oll",x,[exp(x) exp(x^2) exp(x^3)])
J.Ph.C.
<< patch_properties | plot2d2 >> |