graplot 0.1.22

Experimental plotting library based on macroquad
Documentation
1
2
3
4
5
6
7
8
9
10
11
use graplot::{x, Desc, Plot};

fn main() {
    let mut plot = Plot::new((|x: f64| x.cos(), x(5.)));
    plot.set_desc(Desc {
        min_steps_x: 6.,
        spacing_x: 47.,
        ..Default::default()
    });
    plot.show();
}