File: xfarcs.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (36 lines) | stat: -rw-r--r-- 937 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

xfarcs(2)                      Scilab Function                      xfarcs(2)
NAME
  xfarcs - filling a set of ellipsis

CALLING SEQUENCE
  []=xfarcs(arcs,[fill])

PARAMETERS

  arcs : matrix of size (6,n) (ellipsis description)

  style
       : vector of size (1,n) giving the style to use ( set
       xset("dashes",...).

DESCRIPTION
  fill a set of ellipsis described by arcs. arcs= [ x,y,w,h,a1,a2 ;
  x,y,w,h,a1,a2 ;.....] ' : each ellipsis is defined by the 6 parameters
  (x,y,w,h,a1,a2) (see xarc)

  fill(i) gives the fill pattern or color which must be used to draw the
  ellipsis number i.

EXAMPLE
  plot2d(0,0,-1,"031",' ',[-1,-1,1,1])
  set_arcs=[ -1.0 0.0 0.5 // upper left x
              1.0 0.0 0.5 // upper left y
              0.5 0.5 0.5 // widths
              0.5 0.5 0.5 // height
              0.0 0.0 0.0 // angle 1
              360*64 360*64 360*64] // angle 2
  xfarcs(set_arcs,[1,2,3])

AUTHOR
  J.Ph.C.