File: xpolys.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 (44 lines) | stat: -rw-r--r-- 1,110 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
44
.TH xpolys 2 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
xpolys - draw a set of polylines or polygons
.SH CALLING SEQUENCE
.nf
xpolys(xpols,ypols,[draw])
.fi
.SH PARAMETERS 
.TP 13
xpols,ypols 
: matrices of the same size (p,n) (points of the polylines).
.TP
draw 
: vector of size n.
.SH DESCRIPTION
\fVxpolys\fR draws a set of polylinse using marks or dashed lines. 
The coordinates of each polyline
are stored in a column of \fVxpols\fR and \fVypols\fR.
.LP
The style of polyline i is given by \fVdraw(i)\fR:
.TP 3
-
If \fVdraw(i)\fR is negative, the mark with id \fV-draw(i)\fR is used to
draw polyline i (marks are drawn using the current pattern).
Use \fVxset()\fR to see the meaning of the ids.
.TP
-
If \fVdraw(i)\fR is strictly positive, the line style (or color) with id 
\fVabs(draw(i))\fR is used to draw polyline i.
Use \fVxset()\fR to see the meaning of the ids.
.LP
.SH EXAMPLES
.nf
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")
.fi
.SH SEE ALSO 
xfpoly, xfpolys, xpoly
.SH AUTHOR
J.Ph.C.