/// Create a new plotting object with `size` slots for data points

Create a new plotting object with `size` slots for data points
Create a new plotting object with ` size ` slots for data points
pub fn new(size: usize) -> Plot {
        Plot {
            last: 0,
            data: (0..size).map(|_| 0.0).collect::<Vec<_>>(),
        }
    }
pub fn new ( size : usize ) -> Plot { Plot { last : 0 , data : ( 0 .. size ) . map ( | _ | 0.0 ) . collect :: < Vec < _ > > ( ) , } }
Create a new plotting object with `size` slots for data points
Create a new plotting object with ` size ` slots for data points
size
usize