Esempio n. 1
0
        public Plot2DCurve AddLine(object x, object y)
        {
            Curve       curve       = new Curve(Plotting.Array(x), Plotting.Array(y));
            Plot2DCurve plot2DCurve = new Plot2DCurve(curve);

            this.Children.Add(plot2DCurve);
            return(plot2DCurve);
        }
Esempio n. 2
0
 public Plot2DCurve(object x, object y)
 {
     this.curve = new Curve(Plotting.Array(x), Plotting.Array(y));
     Initialize();
 }