#plot #csv #graphing #gtk #cairo #data #gui

rustplot

A simple GUI based plotting library for Rust using GTK and Cairo

1 unstable release

Uses old Rust 2015

0.1.0 May 3, 2018

#385 in Visualization

MIT license

150KB
2.5K SLoC

Rustplot

A simple GUI based plotting library for Rust using GTK and Cairo.

Documentation

Documentation of the API can be found on lib.rs.

Usage

Requires installation of GTK+, GLib and Cairo for use of the gtk-rs crates. Installation instructions can be found on the gtk-rs requirements page.

Add this to Cargo.toml:

[dependencies]
rustplot = "0.1.0"

and this to crate root:

extern crate rustplot;

// For all functionality
use rustplot::*;

Testing

To run unit tests: cargo test --lib

To rust integration tests: cargo test --test <test module name>

To run rustdoc tests: cargo test --doc

License

Rustplot is distributed under the terms of the MIT license.

See LICENSE for details.


lib.rs:

rustplot is a simple GUI based plotting library for Rust.

rustplot provides a data parsing module to for extracting data from CSV files and uses gtk+ for creation of graphical user interfaces for displaying charts.

Dependencies

~20–28MB
~521K SLoC