PGFPlots
A Rust library to generate publication-quality figures. This crate is a PGFPlots code generator, and provides utilities to create, customize, and compile high-quality plots.
Usage
Users need to have pdflatex available in their system with the pgfplots
package. In the unlikely scenario that you don't have this already, install
any LaTeX distribution manually.
Add the following to your Cargo.toml file:
[]
= "0.1"
Plotting a quadratic function is as simple as:
use Plot2D;
let mut plot = new;
plot.coordinates =
.into_iter
.map
.collect;
let status = plot
.pdflatex_standalone
.expect;
if status.success
Want to contribute?
There are multiple ways to contribute:
- Install and test PGFPlots. If it doesn't work as expected please open an issue.
- Comment/propose a fix on some of the current open issues.
- Read through the documentation. If there is something confusing, or you have a suggestion for something that could be improved, please let the maintainer(s) know.
- Help evaluate open pull requests, by testing locally and reviewing what is proposed.