Esempio n. 1
0
        /// <summary>
        /// Add a Cleveland Dot plot for the given values using defined dot positions.
        /// </summary>
        public ClevelandDotPlot AddClevelandDot(double[] ys1, double[] ys2, double[] positions)
        {
            var plottable = new ClevelandDotPlot(positions, ys1, ys2);

            Add(plottable);
            return(plottable);
        }
Esempio n. 2
0
        /// <summary>
        /// Add a Cleveland Dot plot for the given values. Cleveland Dots will be placed at X positions 0, 1, 2, etc.
        /// </summary>
        public ClevelandDotPlot AddClevelandDot(double[] ys1, double[] ys2)
        {
            double[] xs        = DataGen.Consecutive(ys1.Length);
            var      plottable = new ClevelandDotPlot(xs, ys1, ys2);

            Add(plottable);
            return(plottable);
        }