- adjustTickWidth
Axis adjustTickWidth(Axis axis, size_t approx_no_ticks)
Calculate optimal tick width given an axis and an approximate number of ticks
- axisAes
auto axisAes(string type, double minC, double maxC, double lvl, double scaling, Tuple!(double, string)[] ticks)
Aes describing the axis and its tick locations
- axisTicks
auto axisTicks(Axis axis)
Returns a range starting at axis.min, ending axis.max and with
all the tick locations in between
- initialized
bool initialized(Axis axis)
Is the axis properly initialized? Valid range.
- scalePrint
string scalePrint(double value, uint scaleMin, uint scaleMax)
Print (axis) value, uses scientific notation for higher decimals
- tickLength
auto tickLength(double plotSize, size_t deviceSize, double scalingX, double scalingY)
Calculate tick length in plot units
- tickLength
double tickLength(Axis axis)
- toAxisLabel
string toAxisLabel(double value, double max_value, double tick_width)
Convert a value to an axis label