14 releases

Uses old Rust 2015

0.5.3 Sep 8, 2020
0.5.2 Aug 12, 2020
0.5.1 Apr 18, 2020
0.5.0 Jan 21, 2020
0.1.2 May 20, 2018

#11 in Visualization

Download history 216/week @ 2020-06-09 328/week @ 2020-06-16 154/week @ 2020-06-23 157/week @ 2020-06-30 330/week @ 2020-07-07 543/week @ 2020-07-14 373/week @ 2020-07-21 234/week @ 2020-07-28 114/week @ 2020-08-04 202/week @ 2020-08-11 266/week @ 2020-08-18 166/week @ 2020-08-25 307/week @ 2020-09-01 165/week @ 2020-09-08 182/week @ 2020-09-15 286/week @ 2020-09-22

1,080 downloads per month
Used in 4 crates

MIT license

105KB
265 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