# textplots [](https://crates.io/crates/textplots) [](https://travis-ci.org/loony-bean/textplots-rs)
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](https://github.com/sunetos/TextPlots.jl) which is inspired by [Drawille](https://github.com/asciimoo/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](https://github.com/Evizero/UnicodePlots.jl)
or another cool terminal plotting library.
Contributions are very much welcome!
```rust
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();
}
```
<img src="https://raw.githubusercontent.com/loony-bean/textplots-rs/master/doc/demo.png">