chaosmagpy.plot_utils.plot_power_spectrum¶
- chaosmagpy.plot_utils.plot_power_spectrum(spectrum, **kwargs)[source]¶
Plot the spherical harmonic spectrum.
- Parameters:
- spectrumndarray, shape (N,)
Spherical harmonics spectrum of degree N.
- Other Parameters:
- figsize2-tuple of floats
Figure dimension (width, height) in inches.
- titleslist of strings
Subplot titles (defaults to empty strings).
- ylabelstring
Label of the vertical axis (defaults to an empty string).
- **kwargs
Keywords passed to
matplotlib.pyplot.semilogy()
Notes
For more customization get access to the figure and axes handles through matplotlib by using
fig = plt.gcf()
andaxes = fig.axes
right after the call to this plotting function.