File: xfarcs.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 (33 lines) | stat: -rw-r--r-- 911 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
xfarcs            Scilab Group            Scilab Function            xfarcs
NAME
   xfarcs - fill parts of a set of ellipses
  
CALLING SEQUENCE
 xfarcs(arcs,[style])
PARAMETERS
 arcs    : matrix of size (6,n) describing the ellipses.
         
 style   : row vector of size n giving the style to use.
         
DESCRIPTION
   xarcs fills parts of a set of ellipses described by arcs:  arcs=[x y w h
  a1 a2;x y w h a1 a2;...]' where each ellipse is defined  by the 6
  parameters (x,y,w,h,a1,a2) (see xfarc).
  
   style(i) gives the dash style used to draw ellipse number i.
  
EXAMPLE
 plot2d(0,0,-1,"031"," ",[-1,-1,1,1])
 arcs=[-1.0 0.0 0.5; // upper left x
        1.0 0.0 0.5; // upper left y
        0.5 1.0 0.5; // width
        0.5 0.5 1.0; // height
        0.0 0.0 0.0; // angle 1
        180*64 360*64 90*64]; // angle 2
 xfarcs(arcs,[1,2,3])
SEE ALSO
   xarc, xfarc, xfarc
  
AUTHOR
   J.Ph.C.