Documentation Center    • Trial Software   • Product Updates
Compute 3-D streamline data   XYZ =
stream3(X,Y,Z,U,V,W,startx,starty,startz) XYZ =
stream3(U,V,W,startx,starty,startz) XYZ = stream3(...,options)
XYZ = stream3(X,Y,Z,U,V,W,startx,starty,startz) computes
streamlines from vector data U, V, W.  The arrays X, Y, and Z,
which define the coordinates for U, V, and W, must be monotonic,
but do not need to be uniformly spaced. X, Y, and Z must have
the same number of elements, as if produced by meshgrid.
startx, starty, and startz define the starting positions of the
streamlines. The section "Specifying Starting Points for Stream
Plots" provides more information on defining starting points.
The returned value XYZ contains a cell array of vertex arrays.
XYZ = stream3(U,V,W,startx,starty,startz) assumes the arrays X,
Y, and Z are defined as [X,Y,Z] = meshgrid(1:N,1:M,1:P) where
[M,N,P] = size(U).  XYZ = stream3(...,options) specifies the
options used when creating the streamlines. Define options as a
o