Beispiel #1
0
        public void ExecuteRecipe(Plot plt)
        {
            // plot sample data
            double[] xs      = ScottPlot.DataGen.Consecutive(20);
            double[] ys      = ScottPlot.DataGen.Sin(20);
            var      scatter = new ScottPlot.Plottable.ScatterPlotListDraggable();

            scatter.AddRange(xs, ys);
            scatter.MarkerSize = 5;
            plt.Add(scatter);
Beispiel #2
0
        public void ExecuteRecipe(Plot plt)
        {
            double[] xs = ScottPlot.DataGen.Consecutive(51);
            double[] ys = ScottPlot.DataGen.Sin(51);

            var scatter = new ScottPlot.Plottable.ScatterPlotListDraggable();

            scatter.AddRange(xs, ys);

            plt.Add(scatter);
        }