~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/graphics/genfac3d.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
genfac3d          Scilab Group          Scilab Function            genfac3d
2
 
NAME
3
 
   genfac3d - compute facets of a 3D surface
4
 
  
5
 
CALLING SEQUENCE
6
 
 [xx,yy,zz]=genfac3d(x,y,z,[mask])
7
 
PARAMETERS
8
 
 xx,yy,zz   : matrices of size (4,n-1xm-1). xx(:,i) ,yy(:,i) and zz(:,i) 
9
 
            are respectively the x-axis, y-axis and z-axis coordinates of
10
 
            the 4 points of  the ith four sided facet.
11
 
            
12
 
 x          : x-axis coordinates vector of size m.
13
 
            
14
 
 y          : y-axis coordinates vector of size n.
15
 
            
16
 
 z          : matrix of size (m,n). z(i,j) is the value of the surface at
17
 
            the point (x(i),y(j)).
18
 
            
19
 
 mask       : boolean optional matrix with same size as z used to select 
20
 
            the entries of z to be represented by facets.
21
 
            
22
 
DESCRIPTION
23
 
   genfac3d computes a four sided facets representation of a 3D surface 
24
 
  z=f(x,y) defined by x, y and z.
25
 
  
26
 
EXAMPLE
27
 
 t=[0:0.3:2*%pi]'; z=sin(t)*cos(t');
28
 
 [xx,yy,zz]=genfac3d(t,t,z);
29
 
 plot3d(xx,yy,zz)
30
 
SEE ALSO
31
 
   eval3dp, plot3d
32