slice
Slice a 3D scalar volume with planar cuts.
Syntax
Section titled “Syntax”h = slice(V, sx, sy, sz, ...)Description
Section titled “Description”Renders 2D slices through a 3D volume V at the specified positions along each axis. Each slice shows the volume’s color values (mapped via the colormap) at that plane.
Example
Section titled “Example”slice(volume_data, [], [], [0 5 10])See also
Section titled “See also”contourslice— Contour slices through a 3D volume.isosurface— Extract an isosurface from a 3D scalar volume.