triplot(T, x, y)
triplot(T, x, y, LineSpec)
triplot(TO)
triplot(..., Name, Value)
h = triplot(...)
triplot plots a 2-D triangular mesh from a connectivity matrix or a triangulation object.
rng default;
P = rand([30 2]);
DT = delaunayTriangulation(P);
IC = incenter(DT);
triplot(DT)
hold on
plot(IC(:, 1), IC(:, 2), '*r')
| Version | Description |
|---|---|
| 2.0.0 | Initial version. |