File: xpolys.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 (38 lines) | stat: -rw-r--r-- 1,112 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
xpolys            Scilab Group            Scilab Function            xpolys
NAME
   xpolys - draw a set of polylines or polygons
  
CALLING SEQUENCE
 xpolys(xpols,ypols,[draw])
PARAMETERS
 xpols,ypols   : matrices of the same size (p,n) (points of the
               polylines).
               
 draw          : vector of size n.
               
DESCRIPTION
   xpolys draws a set of polylinse using marks or dashed lines.  The
  coordinates of each polyline are stored in a column of xpols and ypols.
  
   The style of polyline i is given by draw(i):
  
 -   If draw(i) is negative, the mark with id -draw(i) is used to draw
     polyline i (marks are drawn using the current pattern). Use xset() to
     see the meaning of the ids.
     
 -   If draw(i) is strictly positive, the line style (or color) with id 
     abs(draw(i)) is used to draw polyline i. Use xset() to see the meaning
     of the ids.
     
EXAMPLES
 plot2d(0,0,-1,"012"," ",[0,0,1,1])
 rand("uniform")
 xset("pattern",3)
 xpolys(rand(3,5),rand(3,5),[-1,-2,0,1,2])
 xset("default")
SEE ALSO
   xfpoly, xfpolys, xpoly
  
AUTHOR
   J.Ph.C.