Skip to content

triplot

Mojo module 🡭

triplot

Render a Delaunay triangulation as a mesh or colored triangles.

  • Mark.TRIPLOT strokes each mesh edge and optionally marks samples.
  • Mark.TRIPCOLOR fills each triangle from the values at its vertices, through Theme’s color scale. The unstructured counterpart of a heatmap: one patch per triangle instead of one per grid cell.

Both use data supplied by encode_triplot(); TRIPLOT needs only x and y.

Functions