File: genfac3d.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 (39 lines) | stat: -rw-r--r-- 1,012 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
.TH genfac3d 2 "October 1995" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
genfac3d - compute facets of a 3D surface
.SH CALLING SEQUENCE
.nf
[xx,yy,zz]=genfac3d(x,y,z,[mask])
.fi
.SH PARAMETERS
.TP 10
xx,yy,zz 
: matrices of size (4,n-1xm-1). \fVxx(:,i)\fR ,\fVyy(:,i) and \fVzz(:,i)\fR 
are respectively the x-axis, y-axis and z-axis coordinates of the 4 points of 
the ith four sided facet.
.TP
x 
: x-axis coordinates vector of size m.
.TP
y 
: y-axis coordinates vector of size n.
.TP
z      
: matrix of size (m,n). \fVz(i,j)\fR is the value of the surface at the point
(x(i),y(j)).
.TP
mask     
: boolean optional matrix with same size as \fVz\fR used to select 
the entries of \fVz\fR to be represented by facets.
.SH DESCRIPTION
\fVgenfac3d\fR computes a four sided facets representation of a 3D surface 
\fVz=f(x,y)\fR defined by \fVx\fR, \fVy\fR and \fVz\fR.
.SH EXAMPLE
.nf
t=[0:0.3:2*%pi]'; z=sin(t)*cos(t');
[xx,yy,zz]=genfac3d(t,t,z);
plot3d(xx,yy,zz)
.fi
.SH SEE ALSO
eval3dp, plot3d