calibration_plot

petrophys.visualization.calibration_plot

Also available as petrophys.calibration_plot

calibration_plot(result, ax=None, title=None, show_fit=True, figsize=None)[source]

Plot a core-vs-log calibration crossplot.

result may also be a mapping of titles to results, e.g. {"as stored": cal, "shifted +2.89 m": cal_tied}: one panel each, side by side on shared axes, and the axes are returned as a list.

Parameters:
  • result (CalibrationResult) – Output from calibrate_porosity, calibrate_permeability, or calibrate_saturation.

  • ax (Axes, optional) – Existing axes to plot on.

  • title (str, optional) – Custom title.

  • show_fit (bool) – Show the linear fit line.

  • figsize (tuple) – Figure size (only used if ax is None).

Returns:

.fig and .ax; .save(path). Shows itself at the end of a notebook cell.

Return type:

Plot