View Source Terrestrial.Coordinates (terrestrial v0.1.0)
Summary
Types
- data_min is the lowest value of your data
- data_max is the highest value of your data
- min is the lowest value of your axis
- max is the highest value of your axis
used to translate cartesian coordinates into SVG ones and back
Types
@type anchor() :: :start | :middle | :end
@type axis() :: %{ length: float(), data_min: float(), data_max: float(), min: float(), max: float() }
- data_min is the lowest value of your data
- data_max is the highest value of your data
- min is the lowest value of your axis
- max is the highest value of your axis
used to translate cartesian coordinates into SVG ones and back