Easy plotter and saver of simple data. Handy tool for development stage or small computational projects. Save data, have a quick view and an initial gnuplot script to plot it.
If you are looking for a pure Rust plotter, check out plotters.
Do you have a costly process in Rust and want to save the data for postprocessing? Would you like to still have a basic glance to check it and leave fine-tuning of the plot for later? This is the crate for you!
preexplorer
, or use the preexplore
method.plot
or plot_later
. In both cases, after cargo run
, your data is saved and a suitable first script for gnuplot to plot it is saved too. If you used plot
, you will get a plot by gnuplot that you can save.
To get the plot again, run from the console
gnuplot target\\preexplorer\\plots\\my_identifier.gnu
,
where my_identifier
is the name you gave in rust. That is the location of the script for gnuplot.
Want a different plot? Change this file according to your needs and run again.
Want to use gnuplot as an interactive plotting engine? Run gnuplot
in the console, copy and paste the script and keep going with your favorite gnuplot commands.
For more, see the folder examples.
preexplorer = "0.2"
to your Cargo.toml
file under [dependencies]
.use preexplorer::prelude::*;
in your binary, and then use the short-name pre::...
and the preexplore
method directly in iterators and tuple of iterators.There is no connection with the gnuplot project.
Last version:
For more, see Changelog.