FUNCTION REFERENCE

triplot

Draw a 2-D triangular mesh as a single line object of unique triangle edges.

Draw a 2-D triangular mesh as a single line object of unique triangle edges.

Syntax

h = triplot(TRI, x, y)

Syntax

h = triplot(TRI, x, y, LineSpec)

Syntax

h = triplot(TR)

Each row of TRI contains three one-based vertex indices into x and y, or TR is a 2-D triangulation or delaunayTriangulation object. Optional LineSpec and Name,Value line properties may follow.

Example

h = triplot([1 2 3], [0 1 0], [0 0 1]); h.Type   % 'line'

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