Skip to content

isosurface

Extract an isosurface from a 3D scalar volume.

[h] = isosurface(V, isoval)
[f, v] = isosurface(V, isoval)

Computes the surface where V = isoval in a 3D scalar volume (marching-cubes algorithm) and renders it. With multiple outputs, returns the face/vertex data without drawing.

isosurface(peaks_3d, 0.5)
  • slice — Slice a 3D scalar volume with planar cuts.
  • patch — Generic polygon (2D or 3D).
  • contour3 — 3D contour plot.