plot

m3sh.vis.plot(P, width=2.0, size=6.0, style='-', color=(0.25, 0.25, 0.25))[source]

Polyline plotting.

Parameters:
  • P (array_like, shape (n, 3)) – Coordinate array of vertices.

  • width (float) – Width of line segments in screen units.

  • size (float) – Marker size in screen units.

  • style (string) – A combination of ‘.’, ‘o’, ‘-’, and ‘=’.

  • color (array_like, shape (3, )) – RGB color triplet for all line segments and markers.

Returns:

The corresponding actor object.

Return type:

vtkActor