chaosmagpy.plot_utils.plot_power_spectrum¶
- chaosmagpy.plot_utils.plot_power_spectrum(spectrum, **kwargs)[source]¶
Plot spherical harmonic spectrum.
- Parameters:
- spectrumndarray, shape (N,)
Spherical harmonics spectrum of degree N.
- Returns:
- fig
matplotlib.figure.Figure
Matplotlib figure.
- axes
matplotlib.axes.Axes
A single axes instance.
- fig
- 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()