6.2.10.15. eqcorrscan.utils.plotting.threeD_gridplot¶
-
eqcorrscan.utils.plotting.threeD_gridplot(nodes, **kwargs)[source]¶ Plot in a series of grid points in 3D.
Parameters: - nodes (list) – List of tuples of the form (lat, long, depth)
- title (str) – Title of figure
- show (bool) – Whether to show the figure or not (defaults to True)
- save (bool) – Whether to save the figure or not (defaults to False)
- savefile (str) – Filename to save figure to, if save==True (defaults to “EQcorrscan_figure.png”)
- return_figure (bool) – Whether to return the figure or not (defaults to True), if False then the figure will be cleared and closed.
- size (tuple of float) – Figure size as (width, height) in inches. Defaults to (10.5, 7.5)
Returns: Example
>>> from eqcorrscan.utils.plotting import threeD_gridplot >>> nodes = [(-43.5, 170.4, 4), (-43.3, 170.8, 12), (-43.4, 170.3, 8)] >>> threeD_gridplot(nodes=nodes) # doctest: +SKIP
