graplot 0.1.22

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

#[test]
fn test_xend_squared() {
    let plot = Plot::new((|x: f64| x.powi(2), x(0.0004)));

    plot.show();
}

#[test]
fn test_xend_poly3() {
    let plot = Plot::new((|x: f64| x.powi(3) + x.powi(2), x(1.6), "-"));
    plot.show();
}