FUNCTION REFERENCE

trisurf

Draw filled triangular faces as a patch.

Draw filled triangular faces as a patch.

Syntax

h = trisurf(T, X, Y, Z)

Syntax

h = trisurf(T, X, Y, Z, C)

Each row of T contains three one-based vertex indices. The live patch exposes T as Faces and the coordinate columns as Vertices. A face takes its colour from the first vertex using the axes colormap at creation. C supplies one scalar per vertex and defaults to Z.

Example

h = trisurf([1 2 3], [0 1 0], [0 0 1], [0 1 2]); h.Faces

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