summaryrefslogtreecommitdiff
path: root/src/plot/mod.rs
blob: 1124128b27233b2d3b179da4037e2da14b83fa32 (plain)
1
2
3
4
5
6
7
8
9
pub mod gnuplot;
pub use gnuplot::Gnuplot;

pub trait Graph {
    fn plot3d(data: &[[f64; 6]], chunk_size: u32);
    fn animate3d(data: &[[f64; 6]], chunk_size: u32, start: usize, end: usize);
    fn plot2d(data: &[[f64; 6]], chunk_size: u32);
    fn animate2d(data: &[[f64; 6]], chunk_size: u32, start: usize, end: usize);
}