Reaction.plot_rate_coefficient
plot_rate_coefficient(fig=None, ax=None, title=None, grid=True, show=True, save=False, filename="")
Plots the rate coefficient as a function of gas temperature on a log-log scale, using the styled jaff.plotting.Plotter house style. The temperature axis spans [tmin, tmax]; when either is None, defaults of 2.73 K and 1e6 K are used respectively.
Parameters
- fig, ax : matplotlib.figure.Figure / matplotlib.axes.Axes or None, optional
- Existing figure/axes to draw on. Both are created if
None. - title : str or None, optional
- Plot title. Defaults to the LaTeX reaction equation.
- grid : bool, optional
- Draw a grid. Default
True. - show : bool, optional
- Display the figure. Default
True. - save : bool, optional
- Save to
filename(format inferred from the extension). DefaultFalse. - filename : str, optional
- Output path. Defaults to
"<reaction>_rate.png".
Returns
- tuple[matplotlib.figure.Figure, matplotlib.axes.Axes]
- The figure and axes drawn on.