summaryrefslogtreecommitdiff
path: root/src/main.rs
blob: ab883026284b9236c3e84e54f5074ad3300d408b (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(
        &[
            [
                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,
    )
}