~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/graphics/plot3d2.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
plot3d2           Scilab Group           Scilab Function            plot3d2
 
2
NAME
 
3
   plot3d2 - plot surface defined by rectangular facets
 
4
  
 
5
DESCRIPTION
 
6
 plot3d2(X,Y,Z [,vect,theta,alpha,leg,flag,ebox])
 
7
 plot3d2(X,Y,Z, <opt_args>)
 
8
PARAMETERS
 
9
 X,Y,Z      : 3 real matrices
 
10
            
 
11
 vect       : real vector
 
12
            
 
13
 <opt_args> : This represents a sequence of statements key1=value1,
 
14
            key2=value2,... where key1, key2,... can be one of the
 
15
            following: vect (see above), theta, alpha ,leg,flag,ebox (see
 
16
            plot3d) 
 
17
            
 
18
DESCRIPTION
 
19
   plot3d2 plots a surface defined by rectangular facets. (X,Y,Z) are three
 
20
  matrices which describe a surface. The surface is composed of four sided
 
21
  polygons.  The X-coordinates of a facet are given by
 
22
  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
 
23
  coordinates. The vect vector is used when multiple surfaces are coded  in
 
24
  the same (X,Y,Z) matrices. vect(j) gives the line  at which the coding of
 
25
  the jth surface begins.  See plot3d for a full description.
 
26
  
 
27
EXAMPLE
 
28
 u = linspace(-%pi/2,%pi/2,40);
 
29
 v = linspace(0,2*%pi,20);
 
30
 X = cos(u)'*cos(v);
 
31
 Y = cos(u)'*sin(v);
 
32
 Z = sin(u)'*ones(v);
 
33
 plot3d2(X,Y,Z);
 
34
SEE ALSO
 
35
   plot3d, genfac3d 
 
36