File: genfac3d.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 (40 lines) | stat: -rw-r--r-- 1,007 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
.TH genfac3d 2 "October 1995" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
genfac3d - convert 3d datas to four sided facets
.SH CALLING SEQUENCE
.nf
[xx,yy,zz]=genfac3d(x,y,zmat [,mask])
.fi
.SH PARAMETERS
.TP 15
zmat      
: a \fV(mxn)\fR matrix.
.TP
x 
:x axis coordinates vector ( size \fVm\fR )
.TP
y 
:y axis coordinates vector ( size \fVn\fR )
.TP
mask     
: boolean optional matrix with same size as zmat used to select 
entries of zmat to be represented by facets.
.TP
xx,yy,zz 
: Three \fV4x(n-1xm-1)\fR  matrices. \fVxx(:,i),yy(:,i),zz(:,i)\fR are respectively the 
 x-axis,y-axis and z-axis coordinates of the ith facet
.SH DESCRIPTION
Converts 3d data ( two vectors \fVx,y\fR and a matrix \fVz\fR which
code the  surface \fVz(i,j)=f(x(i),y(j))\fR ) to a four sided facets representation.
.SH EXAMPLE
.nf
t = linspace(0,2*%pi,10);
zmat=sin(t')*cos(t);
plot3d(t,t,zmat)
[xx,yy,zz]=genfac3d(t,t,zmat);
plot3d(xx,yy,zz)
plot3d([xx xx],[yy yy],[zz 4+zz])
.fi
.SH SEE ALSO
plot3d, eval3dp