Exemple #1
0
        public void ExecuteRecipe(Plot plt)
        {
            Random rand       = new Random(0);
            int    pointCount = 50;

            double[] xs   = DataGen.Consecutive(pointCount);
            double[] ys   = DataGen.NoisyBellCurve(rand, pointCount);
            double[] yErr = DataGen.Random(rand, pointCount, multiplier: .2, offset: .05);

            plt.AddErrorBars(xs, ys, null, yErr, markerSize: 5);
        }