예제 #1
0
 public void SetUp()
 {
     _figure = new Figure()
     {
         Data = new DataPoints(x: _x, y: _y)
     };
     _scatter2D = new Scatter()
     {
         Data = new DataPoints(x: _x, y: _y)
     };
     _scatter3D = new Scatter()
     {
         Data = new DataPoints(x: _x, y: _y, z: _z)
     };
     _line2D = new Line()
     {
         Data = new DataPoints(x: _x, y: _y)
     };
     _filledCurves = new FilledCurves()
     {
         Data = new DataPoints(x: _x, y: _y, z: _z)
     };
     _linePoints2D = new LinePoints()
     {
         Data = new DataPoints(x: _x, y: _y)
     };
     _yError = new YError()
     {
         Data = new DataPoints(x: _x, y: _y, z: _z)
     };
     _line3D = new Line()
     {
         Data = new DataPoints(x: _x, y: _y, z: _z)
     };
     _linePoints3D = new LinePoints()
     {
         Data = new DataPoints(x: _x, y: _y, z: _z)
     };
     _impulse  = new Impulse();
     _function = new Function()
     {
         Properties = { Function = _f }
     };
     _bars = new Bars();
     Normal.Samples(_array, mean: 0, stddev: 1);
     _histogram = new Histogram()
     {
         Data = new DataPoints(x: _array)
     };
     _boxplot = new Boxplot()
     {
         Data = new DataPoints(x: _array)
     };
     _vector = new Vector()
     {
         Data = new DataPoints(x1: _x, x2: _y, y1: _z, y2: _z)
     };
 }
예제 #2
0
 public void SetError(YError yError)
 {
     this.error = yError;
 }