Beispiel #1
0
        public PlottablePopulations PlotPopulations(Population[] populations, string label = null)
        {
            var plottable = new PlottablePopulations(populations, label);

            Add(plottable);
            return(plottable);
        }
Beispiel #2
0
        public PlottablePopulations PlotPopulations(Population population, string label = null)
        {
            var plottable = new PlottablePopulations(population, label, settings.GetNextColor());

            Add(plottable);
            return(plottable);
        }
Beispiel #3
0
        public PlottablePopulations PlotPopulations(PopulationMultiSeries multiSeries)
        {
            for (int i = 0; i < multiSeries.multiSeries.Length; i++)
            {
                multiSeries.multiSeries[i].color = settings.colorset.GetColor(i);
            }

            var plottable = new PlottablePopulations(multiSeries);

            Add(plottable);
            return(plottable);
        }
Beispiel #4
0
        public PlottablePopulations PlotPopulations(PopulationSeries series, string label = null)
        {
            series.color = settings.GetNextColor();
            if (label != null)
            {
                series.seriesLabel = label;
            }
            var plottable = new PlottablePopulations(series);

            Add(plottable);
            return(plottable);
        }