summaryrefslogtreecommitdiff
path: root/src/plot/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/plot/mod.rs')
-rw-r--r--src/plot/mod.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plot/mod.rs b/src/plot/mod.rs
new file mode 100644
index 0000000..8773020
--- /dev/null
+++ b/src/plot/mod.rs
@@ -0,0 +1,9 @@
+pub mod gnuplot;
+pub use gnuplot::Gnuplot;
+
+pub trait Graph {
+ fn plot3d(data: Vec<[f64; 6]>, chunk_size: u32);
+ fn animate3d(data: Vec<[f64; 6]>, chunk_size: u32, start: usize, end: usize);
+ fn plot2d(data: Vec<[f64; 6]>, chunk_size: u32);
+ fn animate2d(data: Vec<[f64; 6]>, chunk_size: u32, start: usize, end: usize);
+}