Example #1
0
 public static void AddLines2D(PlotLine2D plot, IList <Tuple <double[], double[], Color> > series_list)
 {
     foreach (var series in series_list)
     {
         plot.AddSeries(series.Item1, series.Item2, series.Item3);
     }
 }
Example #2
0
        public static void PlotLinesXY(string file_path, int size_x, int size_y, IList <Tuple <double[], double[], Color> > series_list)
        {
            PlotLine2D plot = new PlotLine2D();

            AddLines2D(plot, series_list);
            WriteToFile(file_path, plot.PlotModel, 800, 800);
        }
Example #3
0
        public static void PlotLinesXY(string file_path, double[] x_values, double[] y_values_0)
        {
            PlotLine2D plot = new PlotLine2D();

            plot.AddSeries(x_values, y_values_0);
            WriteToFile(file_path, plot.PlotModel, 800, 800);
        }
Example #4
0
        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);
        }
Example #5
0
        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);
        }
Example #6
0
 public static void WriteToFile(string file_path, PlotLine2D line_plot, int size_x, int size_y)
 {
     WriteToFile(file_path, line_plot.PlotModel, size_x, size_y);
 }