File: fcontour.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 (52 lines) | stat: -rw-r--r-- 1,859 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

fcontour(2)                    Scilab Function                    fcontour(2)
NAME
  fcontour - level curves

CALLING SEQUENCE
  fcontour(xr,yr,f,nz,[theta,alpha,caption,flag,bbox,zlev])
  fcontour2d(x,y,z,nz,[style,strf,leg,rect,nax])

PARAMETERS

  xr,yr     : two real vectors of size respectively (1,n1) and (1,n2).

  f         : is an external which gives the analytic expression of the sur-
            face.  z=f(x,y) is first computed on the grid specified by xr.yr.
            Then, control is passed to the routine contour.

  nz        : specifies the level values or number.

            - If nz is of size 1, its value considered as an integer gives
              the number of level curves equally spaced from zmin to zmax.

            - If nz is a vector, nz(j) gives the value of the jth level
              curve.

  [rest]    : for theta,alpha,caption, bbox see plot3d

  flag      : real vector of size 3 ; flag=[mode,type,box]; flag(2) and
            flag(3) are the same as in plot3d; flag(1) has the following
            meaning :

            flag(1)=0      : the level curves are drawn on the surface
                           defined by (x,y,z)

            flag(1)=1      : the level curves are drawn on a 3D plot and on
                           the plan defined by equation z=zlev

            flag(1)=2      : The level curves are drawn on a 2D plot.

DESCRIPTION
  Draws the level curves of a surface z=f(x,y). The level curves can be drawn
  on a 3D surface or on 2D plot. For level curves on a 2d plot, the function
  fcontour2d should be preferred to the function fcontour since it accepts
  standard 2d parameters [style,strf,leg,rect,nax]. fcontour and fcontour2d
  call respectively contour and contour2d Enter the command fcontour() or
  fcontour2d to see a demo.

SEE ALSO
  contour, contour2d

AUTHOR
  J.Ph.C..