thunderboltz.CrossSections.plot_cs
- CrossSections.plot_cs(ax=None, legend=True, vsig=False, thresholds=False, **plot_args)[source]
Plot the cross sections models.
- Parameters:
ax (
Axesor None) – Optional axes object to plot on top of, default isNone. If ax isNone, then a new figure and Axes object will be created.legend (bool or dict) – Activate axes legend if true, default is True. If a dictionary is passed, it is interpreted as arguments to
legend().vsig (bool) – Plot \(\sqrt{\frac{2\epsilon}{m_{\rm e}}}\sigma(\epsilon)\) rather than \(\sigma(\epsilon)\) on the y-axis.
thresholds (bool) – if
True, plot \(\frac{\epsilon}{\epsilon_{\rm ion}} - 1\) rather than \(\epsilon\) on the x-axis.**plot_args – Optional arguments passed to Axes.plot().
- Returns:
The axes object.
- Return type:
ax (matplotlib.axes.Axes)