File: plot3d2.cat

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 (36 lines) | stat: -rw-r--r-- 1,255 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
plot3d2           Scilab Group           Scilab Function            plot3d2
NAME
   plot3d2 - plot surface defined by rectangular facets
  
DESCRIPTION
 plot3d2(X,Y,Z [,vect,theta,alpha,leg,flag,ebox])
 plot3d2(X,Y,Z, <opt_args>)
PARAMETERS
 X,Y,Z      : 3 real matrices
            
 vect       : real vector
            
 <opt_args> : This represents a sequence of statements key1=value1,
            key2=value2,... where key1, key2,... can be one of the
            following: vect (see above), theta, alpha ,leg,flag,ebox (see
            plot3d) 
            
DESCRIPTION
   plot3d2 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 vect vector is used when multiple surfaces are coded  in
  the same (X,Y,Z) matrices. vect(j) gives the line  at which the coding of
  the jth surface begins.  See plot3d for a full description.
  
EXAMPLE
 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);
SEE ALSO
   plot3d, genfac3d