Graphics Reference
In-Depth Information
[nx, ny, nz, nv] = reducevolume(X,Y,Z,V,[Rx,Ry,Rz])
[nx, ny, nz, nv] = reducevolume(V,[Rx,Ry,Rz])
nv = reducevolume(…)
Reduces the number of items in the data set of volume V
whose coordinates are (X, Y, Z) arrays. Every Rx element
is kept in the x direction, every Ry element is kept in the y
direction, and every Rz element is kept in the z direction.
For example, if Rx is 4, every fourth value in the x direction
from the original dataset is retained.
shrinkfaces(p,sf )
nfv = shrinkfaces(p,sf )
nfv = shrinkfaces(fv,sf )
shrinkfaces(p), shrinkfaces(fv)
nfv = shrinkfaces(f,v,sf )
[nf,nv] = shrinkfaces(…)
Collapses the size of the faces of the object identified by p
according to a contraction sf factor. If fv and sf are passed,
the faces and vertices in fv are used.
W = smooth3(V)
W = smooth3(V,' filter ')
W = smooth3(V,' filter ',size)
W = smooth3(V,' filter ',size,sd)
Smooths data of volume V.
Smoothing with Gaussian or box filters.You can use a scalar
or triple for anti-aliasing (size) and a standard deviation
(sd); this only applies when 'gaussian' filter mode is used.
XY = stream2(x,y,u,v,startx,starty)
XY = stream2(u,v,startx,starty)
Finds lines of the current 2D vector data (u, v) whose
coordinates are defined by the arrays (x, y)
XYZ = stream3(X,Y,Z,U,V,W,startx,starty,startz)
XYZ = stream3(U,V,W,startx,starty,startz)
Finds lines of the current 3D data vector (u, v, w) whose
coordinates are defined by the arrays (x, y, z)
h = streamline(X,Y,Z,U,V,W,startx,starty,startz)
h = streamline(U,V,W,startx,starty,startz)
h = streamline(XYZ)
h = streamline(X,Y,U,V,startx,starty)
h = streamline(U,V,startx,starty)
h = streamline(XY)
Draw lines of the current 2D or 3D data vector. (X, Y, Z)
are the coordinates of (U, V, W) and (startx, starty, startz)
indicate the starting positions of the lines.
streamparticles(vertices)
streamparticles(vertices, n)
Draws the vector of the data field particles and represents
them by markers in 2D or 3D vertices.
streamribbon(X,Y,Z,U,V,W,startx,starty,startz)
streamribbon(U,V,W,startx,starty,startz)
streamribbon(vertices,X,Y,Z,cav,speed)
streamribbon(vertices,cav,speed)
streamribbon(vertices,twistangle)
streamribbon(…,width), h = streamribbon(…)
Draws tapes for vector volume data (U, V, W) whose
coordinates are (X, Y, Z) arrays using(startx, starty, startz)
to indicate the positions of the start of the tapes.
streamslice(X,Y,Z,U,V,W,startx,starty,startz)
streamslice(U,V,W,startx,starty,startz)
streamslice(X,Y,U,V)
streamslice(U,V)
streamslice(…,density)
streamslice(…,'arrowmode')
streamslice(…,'method')
h = streamslice(…)
[vertices arrowvertices] = streamslice(…)
Draws stream lines well spaced with arrow keys for the
vector volume data (U, V, W) whose coordinates are
(X, Y, Z), arrays where (startx, starty, startz) indicate the
start positions of the lines. Density is a positive number
that modifies the spacing of lines, arrows mode can use
the values arrows or noarrows to put or not at the ends in
the arrows, and method indicates the type of interpolation
(linear, cubic, or nearest).
( continued )
Search WWH ::




Custom Search