Skip to main content

linear

Function linear 

Source
pub fn linear(lo: f64, hi: f64, count: usize, nice: bool) -> Ticks
Expand description

About count ticks at 1, 2 or 5 times a power of ten. nice widens the domain to the ticks either side of lo..=hi; otherwise the domain is lo..=hi and the ticks fall inside it.