- Notifications
You must be signed in to change notification settings - Fork47
A Rust library for drawing plots, powered by Gnuplot.
License
NotificationsYou must be signed in to change notification settings
SiegeLord/RustGnuplot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A Gnuplot controller written in Rust.
Ondocs.rs
A simple example:
letmut fg =Figure::new();fg.axes2d().set_title("A plot",&[]).set_legend(Graph(0.5),Graph(0.9),&[],&[]).set_x_label("x",&[]).set_y_label("y^2",&[]).lines(&[-3., -2., -1.,0.,1.,2.,3.],&[9.,4.,1.,0.,1.,4.,9.],&[Caption("Parabola")],);fg.show().unwrap();
A somewhat involved 2D example (seeexample1.rs
in theexamples
directory):
- Simple 2D plots
- lines
- points
- points + lines
- error bars
- ...and more!
- Simple 3D plots
- surface plots
- heatmaps
- contours
cargo build
About
A Rust library for drawing plots, powered by Gnuplot.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.