SineLatitudeScale

class SineLatitudeScale[source]

Bases: _Scale, ScaleBase

Axis scale that is linear in the sine transformation of x. The axis limits are constrained to fall between -90 and +90 degrees. The scale function is as follows:

\[y = \sin(\pi x/180)\]

The inverse scale function is as follows:

\[x = 180\arcsin(y)/\pi\]

Methods Summary

limit_range_for_scale(vmin, vmax, minpos)

Return the range vmin and vmax limited to within +/-90 degrees (inclusive).