matplotlib.axes.Axes.triplot#

Axes.triplot(*args, **kwargs)[source]#

Draw a unstructured triangular grid as lines and/or markers.

The triangulation to plot can be specified in one of two ways; either:

triplot(triangulation, ...)

where triangulation is a Triangulation object, or

triplot(x, y, ...)
triplot(x, y, triangles, ...)
triplot(x, y, triangles=triangles, ...)
triplot(x, y, mask=mask, ...)
triplot(x, y, triangles, mask=mask, ...)

in which case a Triangulation object will be created. See Triangulation for a explanation of these possibilities.

The remaining args and kwargs are the same as for plot.

Returns
linesLine2D

The drawn triangles edges.

markersLine2D

The drawn marker nodes.

Examples using matplotlib.axes.Axes.triplot#

Tricontour Smooth Delaunay

Tricontour Smooth Delaunay

Tricontour Smooth Delaunay
Tricontour Smooth User

Tricontour Smooth User

Tricontour Smooth User
Trigradient Demo

Trigradient Demo

Trigradient Demo
Triplot Demo

Triplot Demo

Triplot Demo
Trifinder Event Demo

Trifinder Event Demo

Trifinder Event Demo
triplot(x, y)

triplot(x, y)

triplot(x, y)