mtuq.graphics._plot_depth

mtuq.graphics._plot_depth(filename, da, origins, title='', xlabel='auto', ylabel='', show_magnitudes=False, show_tradeoffs=False, backend=<function _plot_depth_gmt>)[source]

Plots DataArray values versus depth (requires GMT)

Keyword arguments

show_magnitudes (bool): Write magnitude annotation for each plotted value

show_tradeoffs (bool): Show how focal mechanism trades off with depth

xlabel (str): Optional x-axis label

ylabel (str): Optional y-axis label

title (str): Optional figure title

backend (function): Choose from _plot_lune_gmt (default), _plot_lune_matplotlib, or user-supplied function