File: plot.man

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (43 lines) | stat: -rw-r--r-- 959 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.TH plot 2 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
plot - simple plot 
.SH CALLING SEQUENCE
.nf
plot(x,y,[xcap,ycap,caption])
plot(y)
.fi
.SH PARAMETERS 
.TP 15
x,y
: two vectors with same sizes
.TP
xcap,ycap,caption
:
character strings or string matrices 
.SH DESCRIPTION
Plot \fVy\fR as function of \fVx\fR.
\fVxcap\fR and \fVycap\fR are captions for x-axis 
and y-axis respectively and \fVcaption\fR is the caption of the plot.

Invoked with only one argument, \fVplot(y)\fR plots the \fVy\fR vector or,
if \fVy\fR 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 \fVy\fR>.

\fVplot\fR is obsolete. Use \fVplot2d\fR instead.
.SH EXAMPLE
.nf
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)])
.fi
.SH SEE ALSO
plot2d
.SH AUTHOR
J.Ph.C.