plotlib 0.3.0

Plotting data structures and tools
Documentation
1
2
3
4
5
6
7
8
extern crate plotlib;

fn main() {
    let data = [0.3, 0.5, 6.4, 5.3, 3.6, 3.6, 3.5, 7.5, 4.0];
    let h = plotlib::histogram::Histogram::from_vec(&data, 10);
    let v = plotlib::view::View::new().add(&h);
    println!("{}", plotlib::page::Page::single(&v).to_text());
}