A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ultraplot.readthedocs.io/en/latest/api/ultraplot.scale.SineLatitudeScale.html below:

Website Navigation


SineLatitudeScale — UltraPlot documentation

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\]

Attributes Summary

name

The registered scale name

Methods Summary

limit_range_for_scale(vmin, vmax, minpos)

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

Attributes Documentation

name = 'sine'

The registered scale name

Methods Documentation

limit_range_for_scale(vmin, vmax, minpos)[source]

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4