triplot
2-D triangular plot
Note
The behavior ofh = triplot(...)
has changed. The new behavior returns a single chart line handle.
Syntax
triplot(TRI,x,y)
triplot(TRI,x,y,color)
triplot(TR)
h = triplot(...)
triplot(...,'param',value,'param',value...)
Description
triplot(TRI,x,y)
displays the triangles defined in them
3矩阵TRI
. A row ofTRI
contains indices into the vectorsx
andy
that define a single triangle. The default line color is blue.
triplot(TRI,x,y,color)
specifiescolor
as the line color.color
can also be a line specification. SeeColorSpec
for a list of valid colors. SeeLineSpec
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. SeeLine Propertiesfor information about the available properties.