contourslice
Draw contours in volume slice planes
Syntax
Description
contourslice(draws
contours in slices for the volumetric data X,Y,Z,V,xslice,yslice,zslice) V, where
V determines the contour colors. Specify
X,Y, and Z as the
coordinate data. Specify xslice, yslice,
and zslice as the slice locations using one of these forms:
To draw one or more slice planes that are orthogonal to a particular axis, specify the slice arguments as a scalar or vector.
To draw a single slice along a surface, specify all the slice arguments as matrices that define a surface.
contourslice(___,
specifies the number of contour lines to draw per slice. Use this option with any of
the input arguments from the previous syntaxes.num)
contourslice(___,
specifies the values at which to draw contour lines within each slice.lvls)
contourslice(___,
specifies the interpolation method, where method) method can be
'linear', 'cubic', or
'nearest'.
contourslice( plots
into the specified axes, instead of the current axes
(ax,___)gca).
returns the s = contourslice(___)Patch objects created.
Examples
Input Arguments
Algorithms
The contourslice function does not clear existing plots before
plotting.
Extended Capabilities
Version History
Introduced before R2006a
See Also
meshgrid | slice | interp3 | contour | isosurface



