Skip to content

triplot

plot · scripts/plot/draw/triplot.m

: h = triplot (tri, x, y)
: h = triplot (…, linespec)
: h = triplot (…, prop, val)

Plot the edges of a two-dimensional triangulation.

tri is an m-by-3 matrix of vertex indices into the vectors x and y. All triangle outlines are drawn as a single line object whose data are the closed outlines separated by NaN.