summaryrefslogtreecommitdiff
path: root/src/main.rs
blob: d7e9609bd2228e79cd8f2153d58c421243a3214f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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,
    )
}