~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/graphics/xpoly.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
xpoly            Scilab Group            Scilab Function              xpoly
2
 
NAME
3
 
   xpoly - draw a polyline or a polygon
4
 
  
5
 
CALLING SEQUENCE
6
 
 xpoly(xv,yv [,dtype [,close]])
7
 
PARAMETERS
8
 
 xv,yv   : matrices of the same size (points of the polyline).
9
 
         
10
 
 dtype   : string (drawing style). default value is "lines".
11
 
         
12
 
 close   : integer. If close=1, the polyline is closed; default value is
13
 
         0.
14
 
         
15
 
DESCRIPTION
16
 
   xpoly draws a single polyline described by the vectors of coordinates  xv
17
 
   and yv. If xv and yv are matrices  they are considered as vectors by
18
 
  concatenating their columns. dtype can be "lines" for using the current
19
 
  line style or  "marks" for using  the current mark to draw the polyline.
20
 
  
21
 
EXAMPLE
22
 
 x=sin(2*%pi*(0:5)/5);
23
 
 y=cos(2*%pi*(0:5)/5);
24
 
 plot2d(0,0,-1,"010"," ",[-2,-2,2,2])
25
 
 xset("dashes",5)
26
 
 xpoly(x,y,"lines",1)
27
 
 xset("default")
28
 
SEE ALSO
29
 
   xfpoly, xfpolys, xpolys
30
 
  
31
 
AUTHOR
32
 
   J.Ph.C.
33