File: plot2d2.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 (31 lines) | stat: -rw-r--r-- 903 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
plot2d2           Scilab Group           Scilab Function            plot2d2
NAME
   plot2d2 - 2D plot (step function)
  
CALLING SEQUENCE
 plot2d2([x],y)
 plot2d2([x],y,<opt_args>)
 plot2d2([logflag],x,y,[style,strf,leg,rect,nax])
PARAMETERS
   [ ] : see plot2d for a description of parameters.
  
DESCRIPTION
   plot2d2 is the same as plot2d but the functions given by (x,y) are
  supposed to be piecewise constant.   By default, successive plots are
  superposed. To clear the previous plot,  use xbasc().  Enter the command
  plot2d2() to see a demo.
  
EXAMPLE
 // plots a step function of value i on the segment [i,i+1]
 // the last segment is not drawn
 plot2d2([1:4],[1:4],1,"111","step function",[0,0,5,5])
 // compare the following with plot2d
 x=[0:0.1:2*%pi]';
 xbasc()
 plot2d2(x,[sin(x) sin(2*x) sin(3*x)])
SEE ALSO
   plot2d, plot2d3, plot2d4, subplot, xbasc, xset
  
AUTHOR
   J.Ph.C.