SineLatitudeScale¶
-
class
SineLatitudeScale(axis)[source]¶ Bases:
proplot.axistools._ScaleBase,matplotlib.scale.ScaleBaseScales axis to be linear in the sine of x in degrees. The scale function is as follows.
\[y = \sin(\pi x/180)\]The inverse scale function is as follows.
\[x = 180\arcsin(y)/\pi\]- Parameters
axis (
Axis) – The matplotlib axis. Required for compatibility reasons.
Attributes Summary
The registered scale name.
Methods Summary
limit_range_for_scale(vmin, vmax, minpos)Returns the range vmin and vmax limited to some range within +/-90 degrees (inclusive).