Skip to main content

nice_ticks

Function nice_ticks 

Source
pub fn nice_ticks(min: f64, max: f64, wanted: usize) -> (f64, f64, usize)
Expand description

Round numbers for an axis: lower bound, step and how many ticks.