ogstools.meshplotlib.plot_features module#

Specialized plot features.

ogstools.meshplotlib.plot_features.plot_layer_boundaries(ax, surf, projection)[source]#

Plot the material boundaries of a surface on a matplotlib axis.

Parameters:
  • ax (Axes) –

  • surf (DataSet) –

  • projection (int) –

Return type:

None

ogstools.meshplotlib.plot_features.plot_element_edges(ax, surf, projection)[source]#

Plot the element edges of a surface on a matplotlib axis.

Parameters:
  • ax (Axes) –

  • surf (DataSet) –

  • projection (int) –

Return type:

None

ogstools.meshplotlib.plot_features.plot_streamlines(ax, surf, property, projection)[source]#

Plot vector streamlines on a matplotlib axis.

Parameters:
  • ax (Axes) –

  • surf (DataSet) –

  • property (Vector) –

  • projection (int) –

Return type:

None

ogstools.meshplotlib.plot_features.plot_on_top(ax, surf, contour, scaling=1.0)[source]#
Parameters:
  • ax (Axes) –

  • surf (DataSet) –

  • contour (Callable[[ndarray], ndarray]) –

  • scaling (float) –

Return type:

None

ogstools.meshplotlib.plot_features.plot_contour(ax, mesh, style, lw, projection=2)[source]#
Parameters:
  • ax (Axes) –

  • mesh (DataSet) –

  • style (str) –

  • lw (int) –

  • projection (int) –