Skip to content

slice

Slice a 3D scalar volume with planar cuts.

h = slice(V, sx, sy, sz, ...)

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.

slice(volume_data, [], [], [0 5 10])
  • contourslice — Contour slices through a 3D volume.
  • isosurface — Extract an isosurface from a 3D scalar volume.