2-D triangular plot
Note:
The behavior of |
triplot(TRI,x,y)
triplot(TRI,x,y,color)
triplot(TR)
h = triplot(...)
triplot(...,'param','value','param','value'...)
triplot(TRI,x,y)
displays
the triangles defined in the m
-by-3 matrix TRI
.
A row of TRI
contains indices into the vectors x
and y
that
define a single triangle. The default line color is blue.
triplot(TRI,x,y,color)
specifies color
as
the line color. color
can also be a line specification.
See ColorSpec
for a list of
valid colors. See LineSpec
for
information about line specifications.
triplot(TR)
displays the triangles in a
triangulation representation.
h = triplot(...)
returns
a single chart line handle to the displayed triangles.
triplot(...,'param','value','param','value'...)
allows
additional line property name/property value pairs to be used when
creating the plot. See Chart
Line Properties for information about the available properties.
delaunay
| delaunayTriangulation
| triangulation
| trimesh
| trisurf