File: fec.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 (54 lines) | stat: -rw-r--r-- 2,667 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
45
46
47
48
49
50
51
52
53
54
fec              Scilab Group              Scilab Function              fec
NAME
   fec - contour level of a function defined on a triangular mesh 
  
CALLING SEQUENCE
 fec(x,y,triangles,func,[strf,leg,rect,nax,zminmax,colminmax])
PARAMETERS
 x,y        : two vectors of size n, (x(i),y(i)) gives the coordinates of
            node  i
            
 func       : a vector of size n : func(i) gives the value of the function
            for which we want the level curves.
            
 triangles  : is a [Ntr,5] matrix. Each line of triangles specifies a
            triangle of the  mesh triangle(j) =
            [number,node1,node2,node3,flag]. node1,node2,node3 are the
            number of the nodes which constitutes the triangle. number is
            the number of the triangle and flag is an integer not used in
            the fec function 
            
 strf,leg,rect,nax
             : see plot2d
            
 zminmax    : useful only for animation with fec, zminmax is a vector of 
            size 2 [zmin zmax] which gives the z values associated with 
            the first and the last color (of the current colormap).  (More
            exactly if the colormap have nc colors and if we note dz =
            (zmax-zmin)/nc, then the part of the triangulation where  zmin
            + (i-1)dz <= z < zmin + i dz is filled with the color i). By
            default zmin = min(func) and zmax = max(func). If you want to
            do an animation with func values that varie in time, take for
            zmin and zmax the global minimum and maximum or something
            close.  CAUTION : for func values greather than zmax the last
            color  is used and for func values less than zmin this is the
            first color  (so you don't see that the zminmax levels are
            crossed).
            
 colminmax  : a vector of 2 positives integers colminmax=[colmin colmax]
            with 1 <= colmin < colmax <= nc (where nc is the number of
            colors of the current colormap). By default all the colors of
            the colormap are used but with colminmax you may choose a
            sub-part of the (current) colormap.     
            
DESCRIPTION
   See the demo files demos/fec.  fec.ex1 is a simple demo file in which a
  mesh and a function  on that mesh is completely built in Scilab syntax  
  fec.ex2 is an example for which the mesh and the function value where 
  computed by an external mesh builder (amdba type mesh) and an external
  program. A set of macros ( provided in file macros.sci) can be used to
  read the  data files in Scilab and plot the results. 
  
SEE ALSO
   Sfgrayplot, Sgrayplot