summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..d7e9609
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,44 @@
+pub mod plot;
+mod simulation;
+use plot::Graph;
+
+fn main() {
+ println!("Hello, world!");
+ plot::Gnuplot::plot3d(
+ vec![
+ [
+ 0.14285714285714296,
+ 0.5714285714285717,
+ 0.0,
+ 0.5714285714285717,
+ 0.5714285714285717,
+ 0.0,
+ ],
+ [
+ 0.11910591478146304,
+ 0.5652016093730936,
+ -0.01707887122942119,
+ 0.6464319082591804,
+ 0.498191752207936,
+ 0.0002,
+ ],
+ [
+ 0.21910591478146304,
+ 0.7652016093730936,
+ -0.01707887122942119,
+ 0.6464319082591804,
+ 0.498191752207936,
+ 0.0002,
+ ],
+ [
+ 0.01910591478146304,
+ 0.8652016093730936,
+ -0.01707887122942119,
+ 0.6464319082591804,
+ 0.498191752207936,
+ 0.0002,
+ ],
+ ],
+ 1,
+ )
+}