malevich 1.24.1

Terminal plotting: a small grammar of marks, honest axes, millions of points
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! The README sample chart; spliced into README.md by `regen_docs`.

use malevich::Frame;

fn main() {
    let frame = Frame::portable(30, 8);
    println!(
        "{}",
        malevich::line(&[1.0, 5.0, 2.0, 8.0][..]).render(&frame)
    );
}