plots.plot_cum_count#
- seismostats.plots.plot_cum_count(times: list | ndarray | Series, magnitudes: ndarray | Series, ax: Axes | None = None, mcs: ndarray = array([0]), delta_m: float | None = 0) Axes#
Plots cumulative count of earthquakes in given catalog above given Mc through time. Plots a line for each given completeness magnitude in the array
mcs.- Parameters:
times – Array containing times of events.
magnitudes – Array of magnitudes of events corresponding to the
times.ax – Axis where figure should be plotted.
mcs – The list of completeness magnitudes for which we show lines on the plot.
delta_m – Binning precision of the magnitudes, assumed 0 if not given.
- Returns:
ax – Ax that was plotted on.