pytomoatt.src_rec.SrcRec.plot

SrcRec.plot(color_by='depth', fname=None, **kwargs)[source]

Plot sources and receivers with source-depth sections.

Parameters:
  • color_by (str, optional) – Source attribute used for color mapping; either "depth" or "weight", defaults to "depth"

  • fname (str, optional) – Path to output file, defaults to None

  • kwargs – Additional keyword arguments passed to Matplotlib’s Axes.scatter for source points, such as cmap, s, alpha, marker, vmin and vmax

Returns:

matplotlib figure

Return type:

matplotlib.figure.Figure