FUNCTION REFERENCE

isocaps

Compute or draw end caps on the boundary of a volume.

Compute or draw end caps on the boundary of a volume.

Syntax

s = isocaps(V,level)

Syntax

[f,v,c] = isocaps(X,Y,Z,V,level,'below','xmin')

Syntax

isocaps(V,level)

Caps enclose samples above the level by default. Select 'above' or 'below' and 'all', 'xmin', 'xmax', 'ymin', 'ymax', 'zmin', or 'zmax'. The struct contains faces, vertices, and facevertexcdata for patch. Cap colors are interpolated from V.

Example

[x,y,z] = meshgrid(1:3,1:3,1:3); C = isocaps(x+y+z,5.5,'above','zmin'); p = patch(C); view(3);

Differences from MATLAB: Cap geometry is limited to 1,000,000 triangles across the selected planes. Drawing uses the figure limit of 100,000 patch faces.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.