MCPcopy Create free account
hub / github.com/elftausend/graplot / main

Function main

examples/3d.rs:3–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1use graplot::Plot3D;
2
3fn main() {
4 let xs = [0.,1.,2.,3.,4.,5.,6.];
5 let ys = [0.,1.,4.,9.,16.,25.,36.];
6 let zs = [0.,1.,4.,9.,16.,25.,36.];
7
8 // move with: W, A, S, D
9 let plot = Plot3D::new((xs, ys, zs, "r-o"));
10 plot.show();
11}

Callers

nothing calls this directly

Calls 1

showMethod · 0.45

Tested by

no test coverage detected