xscale.spectral.tools.plot_power_law¶
-
xscale.spectral.tools.plot_power_law(power, scale_factor=1.0, ax=None, **kwargs)¶ Plot a logarithmic power law
Parameters: - power : float
The exponent of the power law
- scale_factor : float, optional
The factor to scale the power law with
- ax : matplotlib axes, optional
If None, uses the current axis.
- **kwargs : optional
Additional arguments to matplotlib.pyplot.plot
Returns: - lines : Line2D
Return a Line2D object created by the matplotlib.axes.Axes.plot method