GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Plot types
  • Examples
  • Tutorials
  • Reference
  • Usage guide
  • Develop
  • Release notes
  • gitter
  • discourse
  • GitHub
  • twitter
  • matplotlib
  • matplotlib.afm
  • matplotlib.animation

This view

  • Original page
  • New address

GeezerVison is showing matplotlib.org — matplotlib.pyplot.triplot — Matplotlib 3.5.0 documentation

matplotlib.pyplot.triplot¶

matplotlib.pyplot.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.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.