11 releases

0.5.0 Jan 21, 2020
0.4.1 Jan 21, 2019
0.3.0 Jun 28, 2018
0.2.3 May 30, 2018
0.1.2 May 20, 2018

#7 in Visualization

Download history 238/week @ 2019-12-17 36/week @ 2019-12-24 131/week @ 2019-12-31 350/week @ 2020-01-07 239/week @ 2020-01-14 292/week @ 2020-01-21 286/week @ 2020-01-28 348/week @ 2020-02-04 540/week @ 2020-02-11 296/week @ 2020-02-18 180/week @ 2020-02-25 211/week @ 2020-03-03 184/week @ 2020-03-10 122/week @ 2020-03-17 126/week @ 2020-03-24 133/week @ 2020-03-31

873 downloads per month
Used in 4 crates

MIT license

105KB
249 lines

textplots Crates.io Build Status

Terminal plotting library for using in Rust CLI applications. Should work well in any unicode terminal with monospaced font.

It is inspired by TextPlots.jl which is inspired by Drawille.

Currently it features only drawing line charts on Braille canvas, but could be extended to support other canvas and chart types just like UnicodePlots.jl or another cool terminal plotting library.

Contributions are very much welcome!

extern crate textplots;

use textplots::{Chart, Plot, Shape};

fn main() {
    println!("y = sin(x) / x");
    Chart::default().lineplot( Shape::Continuous( |x| x.sin() / x )).display();
}

Dependencies