orbithunter.EquilibriumOrbitKS.plot¶
-
EquilibriumOrbitKS.
plot
(show=True, save=False, padding=False, fundamental_domain=False, **kwargs)¶ Plot the velocity field as a 2-d density plot using matplotlib’s imshow
- Parameters
- showbool
Whether or not to display the figure
- savebool
Whether to save the figure
- paddingbool
Whether or not to interpolate more points before plotting. Done numerically instead of via plt.imshow
- fundamental_domainbool
Whether to plot only the fundamental domain or not.
- **kwargs :
- padding_shape(int, int)
The field discretization to plot, will be used instead of default padding if padding is enabled.
- filenamestr
The (custom) save name of the figure, if save==True. Save name will be populated otherwise.
- extensionstr
The file extension to save as, .png, .pdf, etc. Values supported by matplotlib only.
- figsize(int, int)
The matplotlib figure size.
Notes
Many of the defaults are experiential quantities; for comparison, i.e. larger domains require larger figures, however, to avoid getting too large or small, a number of defaults are set in place to make sure that the labels and scales are sensible.
The time axis for EquilibriumOrbitKS is labeled by infinity to indicate that they do not change over time.