shakelib.plotting.plotrupture

shakelib.plotting.plotrupture.plot_rupture_wire3d(rupture, ax=None)[source]

Method for making a simple representation of a Rupture instance. This method draws the outline of each quadrilateral in 3D.

Parameters:
  • rupture – A Rupture instance.

  • ax – A matplotlib axis (optional).

Returns:

Matplotlib axis.

shakelib.plotting.plotrupture.map_rupture(rupture)[source]

Method for making a simple representation of a Rupture instance. This method draws the surface projection of the rupture on a map.

Parameters:

rupture – A Rupture instance.