custom_scaling/
custom_scaling.rs

1use graplot::{x, Desc, Plot};
2
3fn main() {
4    let mut plot = Plot::new((|x: f64| x.cos(), x(5.)));
5    plot.set_desc(Desc {
6        min_steps_x: 6.,
7        spacing_x: 47.,
8        ..Default::default()
9    });
10    plot.show();
11}