15 releases
Uses old Rust 2015
0.5.4 | Nov 24, 2020 |
---|---|
0.5.2 | Aug 12, 2020 |
0.5.1 | Apr 18, 2020 |
0.5.0 | Jan 21, 2020 |
0.3.0 | Jun 28, 2018 |
#9 in Visualization
1,042 downloads per month
Used in 5 crates
105KB
259 lines
textplots

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();
}
