File: contour.man

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 (64 lines) | stat: -rw-r--r-- 1,887 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
55
56
57
58
59
60
61
62
63
64
.TH contour 2 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
contour - level curves of surface 
.SH CALLING SEQUENCE
.nf
contour(x,y,z,nz,[theta,alpha,caption,flag,bbox,zlev])
contour2d(x,y,z,nz,[style,strf,leg,rect,nax])
.fi
.SH PARAMETERS
.TP 10
x,y 
: two real vectors of size respectively (1,n1) and (1,n2).
.TP 10
z   
: real matrix of size (n1,n2) (values)
.TP 10
nz 
: real vector of size > 1 (the level values)  or an integer ( the
number of level curves ).
.TP 10
flag
: is a real vector of size three [mode,type,box]
.TP 10
zlev
: real number
.TP 10
[theta,alpha,caption,flag,bbox,zlev]
: see \fVplot3d\fR
.TP 10 
[style,strf,leg,rect,nax]
: (see \fVplot2d\fR). The argument style gives the dash styles or colors
which are to be used for level curves. It must have the same size as the requested level 
curves. The other arguments follows the rules given in \fVplot2d\fR.
.SH DESCRIPTION
Draws 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
\fVcontour2d\fR should be preferred to the function \fVcontour\fR since
it accepts standard 2d parameters \fV[style,strf,leg,rect,nax]\fR. 
for level curves on a 3d plot, the optional arguments are the same as for the function 
\fVplot3d\fR (except \fVzlev\fR ) and their meaning are the same. They control the 
drawing of level curves on a 3D plot.
Only \fVflag(1)=mode\fR has a special meaning.
.RS
.TP 10
mode=0 
: the level curves are drawn on the surface defined by (x,y,z)
.TP
mode=1
: the level curves are drawn on a 3D plot and on the plan defined by 
equation z=zlev
.TP
mode=2 
: The level curves are drawn on a 2D plot.
.RE
Enter the command \fVcontour()\fR to see a demo.
.SH EXAMPLE
.nf
contour2d(1:10,1:10,rand(10,10),5,1:5,"011"," ",[0,0,11,11]);
.fi
.SH SEE ALSO
fcontour, fcontour2d
.SH AUTHOR
J.Ph.C..