public static void PlotLinesXY(string file_path, double[] y_values_0) { PlotLine2D plot = new PlotLine2D(); double[] x_values = ToolsMathSeries.RangeFloat64(y_values_0.Length); plot.AddSeries(x_values, y_values_0); WriteToFile(file_path, plot.PlotModel, 800, 800); }
public static void PlotLinesXY(string file_path, List <double[]> y_values_set) { PlotLine2D plot = new PlotLine2D(); foreach (double[] y_values in y_values_set) { double[] x_values = ToolsMathSeries.RangeFloat64(y_values.Length); plot.AddSeries(x_values, y_values); } WriteToFile(file_path, plot.PlotModel, 800, 800); }