Man Scilab

plot2d1
Scilab Function

plot2d1 - 2D plot (logarithmic axes) (obsolete)

Calling Sequence

plot2d1(str,x,y,[style,strf,leg,rect,nax])

Parameters

Description

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 clf .

Enter the command plot2d1() to see a demo.

Examples


// 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
clf()
plot2d1("onn",x,[sin(x) sin(2*x) sin(3*x)])
// logarithmic plot
x=[0.1:0.1:3]'; clf()
plot2d1("oll",x,[exp(x) exp(x^2) exp(x^3)])
 
  

See Also

plot2d ,   plot2d2 ,   plot2d3 ,   plot2d4 ,   clf ,  

Author

J.Ph.C.

Back