3d/
3d.rs

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}