triplot
2-D triangular plot
📝Syntax
triplot(T, x, y)
triplot(T, x, y, LineSpec)
triplot(TO)
triplot(..., Name, Value)
h = triplot(...)
📄Description

triplot plots a 2-D triangular mesh from a connectivity matrix or a triangulation object.

💡Examples
Plot a triangulation and its triangle incenters.
rng default;
P = rand([30 2]);
DT = delaunayTriangulation(P);
IC = incenter(DT);
triplot(DT)
hold on
plot(IC(:, 1), IC(:, 2), '*r')
Example illustration
🔗See Also
delaunayTriangulationtriangulationdelaunay
🕔Version History
Version Description
2.0.0 Initial version.
Edit this page on GitHub