<< MSDOS 5-3 sd2sci >>
removed >> removed > 5-3 > oldplot

oldplot

simple plot (old version)

Calling Sequence

oldplot(y)
oldplot(x, y, [xcap, ycap, caption])

Arguments

x,y

two vectors with same sizes

xcap,ycap,caption

character strings or string matrices

Description

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, oldplot(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>.

Examples

x=0:0.1:2*%pi;
// simple plot
oldplot(sin(x))
// using captions
clf()
oldplot(x,sin(x),"sin","time","plot of sinus")
// plot 2 functions
clf()
oldplot([sin(x);cos(x)])

See Also

History

VersionDescription
5.3.3 oldplot was published up to Scilab 5.3.3. It is replaced with plot2d or plot.

<< MSDOS 5-3 sd2sci >>