FUNCTION REFERENCE
isosurface
Compute or draw the triangles at a constant value in a volume.
Compute or draw the triangles at a constant value in a volume.
Syntax
s = isosurface(V,level)Syntax
[f,v] = isosurface(X,Y,Z,V,level)Syntax
[f,v,c] = isosurface(X,Y,Z,V,level,C)Syntax
isosurface(V,level,'noshare','verbose')X, Y, and Z correspond to columns, rows, and pages and default to one-based grid indices. Omit the level to select it from a histogram. The fields faces, vertices, and optional facevertexcdata can be passed directly to patch. 'noshare' retains separate edge vertices in adjacent cells. 'verbose' reports the selected level and geometry counts.
Example
[x,y,z] = meshgrid(1:4,1:4,1:4); s = isosurface(x+y+z,7.5); p = patch(s); view(3);Differences from MATLAB: Automatic level selection uses Octave's histogram heuristic. Extraction is limited to 1,000,000 triangles.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.