obspy.core.event.Catalog.plot

Catalog.plot(*args, **kwargs)[source]

Creates preview map of all events in current Catalog object.

Parameters:
  • projection (str, optional) The map projection. Currently supported are * "cyl" (Will plot the whole world.) * "ortho" (Will center around the mean lat/long.) * "local" (Will plot around local events) Defaults to “cyl”
  • resolution (str, optional) Resolution of the boundary database to use. Will be based directly to the basemap module. Possible values are * "c" (crude) * "l" (low) * "i" (intermediate) * "h" (high) * "f" (full) Defaults to "l"
  • continent_fill_color (Valid matplotlib color, optional) Color of the continents. Defaults to "0.8" which is a light gray.
  • water_fill_color (Valid matplotlib color, optional) Color of all water bodies. Defaults to "white".
:param label:Events will be labeld based on the chosen property.
Possible values are * "magnitude" * None Defaults to "magnitude"
:param color:The events will be color-coded based on the chosen
proberty. Possible values are * "date" * "depth" Defaults to "date"
Parameters:colormap (str, optional, any matplotlib colormap) The colormap for color-coding the events. The event with the smallest property will have the color of one end of the colormap and the event with the biggest property the color of the other end with all other events in between. Defaults to None which will use the default colormap.

Example

>>> cat = readEvents(\ 
    "http://www.seismicportal.eu/services/event/search?magMin=8.0")
>>> cat.plot() 

This Page