ertkit.plot.layered_model#

ertkit.plot.layered_model(*items, labels=None, depth_max=None, log_depth=False, ax=None)#

Plot layered models as resistivity against depth.

Few-layer fits show one standard deviation of each layer’s resistivity and of each interface depth; error bars are cut at the edges of the plot, and resistivity error bars at a factor of 100 (LayerFit.factor gives the values). Smooth fits shade the region below their depth of investigation, where the model reflects the regularization rather than the data.

Parameters:
*itemsLayeredModel, LayerFit or SmoothFit

Models, or inversion results whose models are drawn.

labelssequence of str, optional

One label per item. Default “model 1”, “model 2”, and so on.

depth_maxfloat, optional

Deepest depth shown, in meters. Default: 1.5 times the depth of investigation of the smooth fits, or else 1.5 times the deepest interface.

log_depthbool, optional

Use a logarithmic depth axis, which suits smooth models whose layers thicken with depth. Default False.

axmatplotlib.axes.Axes, optional

Axes to draw on; a new figure is made if omitted.

Returns:
matplotlib.axes.Axes