rampedpyrox.RpoThermogram.plot

RpoThermogram.plot(ax=None, xaxis='time', yaxis='rate')[source]

Plots the true and model-estimated thermograms against time or temp.

Parameters:
  • ax (None or matplotlib.axis) – Axis to plot on. If None, automatically creates a matplotlip.axis instance to return. Defaults to None.
  • xaxis (str) – Sets the x axis unit, either ‘time’ or ‘temp’. Defaults to ‘time’.
  • yaxis (str) – Sets the y axis unit, either ‘fraction’ or ‘rate’. Defaults to ‘rate’.
Returns:

ax – Updated axis instance with plotted data.

Return type:

matplotlib.axis

Raises:
  • StringError – If xaxis is not ‘time’ or ‘temp’.
  • StringError – if yaxis is not ‘fraction’ or ‘rate’.