File: plot3d2.man

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 (44 lines) | stat: -rw-r--r-- 1,230 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
.TH plot3d2 2 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
plot3d2 - plot surface defined by rectangular facets
.SH DESCRIPTION
.nf
plot3d2(X,Y,Z [,vect,theta,alpha,leg,flag,ebox])
plot3d2(X,Y,Z, <opt_args>)
.fi
.SH PARAMETERS
.TP 10
X,Y,Z
: 3 real matrices
.TP
vect
: real vector
.TP
<opt_args>
: This represents a sequence of statements \fVkey1=value1,
key2=value2\fR,... where \fVkey1\fR, \fVkey2,...\fR can be one of the
following: vect (see above), theta, alpha ,leg,flag,ebox (see \fVplot3d\fR)

.SH DESCRIPTION
\fVplot3d2\fR plots a surface defined by rectangular facets.
(X,Y,Z) are three matrices which describe a surface.
The surface is composed of four sided polygons. 
The X-coordinates of a facet are given by X(i,j),X(i+1,j),X(i,j+1),X(i+1,j+1).
And similarly Y and Z are Y and Z coordinates.
The \fVvect\fR vector is used when multiple surfaces are coded 
in the same (X,Y,Z) matrices. \fVvect(j)\fR gives the line 
at which the coding of the jth surface begins. 
See \fVplot3d\fR for a full description.
.SH EXAMPLE 
.nf
u = linspace(-%pi/2,%pi/2,40);
v = linspace(0,2*%pi,20);
X = cos(u)'*cos(v);
Y = cos(u)'*sin(v);
Z = sin(u)'*ones(v);
plot3d2(X,Y,Z);
.fi
.SH SEE ALSO
plot3d, genfac3d