#visualization #plotting

bin+lib preexplorer

Easy plotter and saver of simple data. Handy tool for development stage or small computational projects.

2 releases

✓ Uses Rust 2018 edition

new 0.1.1 Mar 24, 2020
0.1.0 Mar 24, 2020

#19 in Visualization


Used in markovian

MIT/Apache

57KB
1.5K SLoC

preexplorer

Easy plotter and saver of simple data. Handy tool for development stage or small computational projects.

Handy way to 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.

Rust is meant for computations and plotting is usually an iterative process, done best in tools like gnuplot. That is way we separate both steps: compute in Rust, save the data, find the best plot with gnuplot.

Installation

  • Download and install gnuplot, a command line engine for plotting. (Note that the gnuplot project has nothing to do with GNU).
  • Add preexplorer = "0.1" to your Cargo.toml file under [dependencies].
  • I suggest to simply go with use preexplorer::prelude::*; in your binary, and then use the short-name pre::... .

To do

  • Add method
    • to_comparison
      • In all basic structures
      • Is this part of the trait?
      • type: Comparison?
  • Duplicate methods, for easier use
    • labelx and xlabel
  • More settings
    • rangex, and xrange
    • rangey, and yrange
  • pub traits should be externally implementable
  • Allow user defined configuration parameters
    • HashMap
  • Write proper presentation of the crate:
    • Purpose
    • Installation
      • Recall gnuplot
    • Use with Rust
  • More customization
    • Audio
      • audify()
      • sonify()
  • ndimensional variants
  • Document project
  • Publish it in crates.io

Disclaimer

There is no connection with the gnuplot project.

Dependencies

~1MB
~11K SLoC