File: plot.cat

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 (37 lines) | stat: -rw-r--r-- 955 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
plot             Scilab Group             Scilab Function              plot
NAME
   plot - simple plot 
  
CALLING SEQUENCE
 plot(x,y,[xcap,ycap,caption])
 plot(y)
PARAMETERS
 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, 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.
  
EXAMPLE
 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)])
SEE ALSO
   plot2d
  
AUTHOR
   J.Ph.C.