rampedpyrox.RpoIsotopes.plot

RpoIsotopes.plot(ax=None, plt_var='p0E', plt_corr=True)[source]

Method for plotting results, either p(0,E) distributions contained within each RPO fraction or isotopes vs. mean E for each RPO fraction.

Parameters:
  • ax (None or matplotlib.axis) – Axis to plot on. If None, automatically creates a matplotlip.axis instance to return. Defaults to None.
  • plt_var (str) – Tells the method which variable to plot, available options are: ‘p0E’ (for fraction-specific p(0,E) distributions), ‘Fm’, and d13C (isotope vs. fraction E scatter plots).
  • plt_corr (str) – If plt_var is ‘Fm’ or ‘d13C’, plt_corr tells the method whether to plot raw or corrected values (if corrected values exist).
Returns:

ax – Updated axis instance with plotted data.

Return type:

matplotlib.axis

Raises:
  • ArrayError – if plt_corr is True but no corrected data exist.
  • StringError – If plt_var is not ‘p0E’, ‘Fm’, or ‘d13C’.