4.10.1.6. eqcorrscan.utils.plotting.interev_mag_sfiles

eqcorrscan.utils.plotting.interev_mag_sfiles(sfiles, save=False, savefile=None, size=(10.5, 7.5))[source]

Plot inter-event time versus magnitude for series of events.

Wrapper for eqcorrscan.utils.plotting.interev_mag().

Parameters:
  • sfiles (list) List of sfiles to read from
  • save (bool) False will plot to screen, true will save plot and not show to screen.
  • savefile (str) Filename to save to, required for save=True
  • size (tuple) Size of figure in inches.
Returns:

matplotlib.figure.Figure

Example

>>> import glob
>>> from eqcorrscan.utils.plotting import interev_mag_sfiles
>>> sfiles = glob.glob('eqcorrscan/tests/test_data/REA/TEST_/*')
>>> interev_mag_sfiles(sfiles=sfiles) 

(Source code, png, hires.png)

../../_images/eqcorrscan-utils-plotting-interev_mag_sfiles-1.png