Population Bar Styling
The bar symbol in population plots can be extensively styled.
ScottPlot.Plot myPlot = new();
for (int i = 0; i < 5; i++)
{
double[] values = Generate.RandomNormal(10, mean: 3 + i);
var pop = myPlot.Add.Population(values, x: i);
pop.Bar.FillColor = pop.Marker.MarkerLineColor.WithAlpha(.5);
pop.Bar.LineWidth = 2;
pop.Bar.ErrorNegative = false;
}
// refine appearance of the plot
myPlot.Axes.Margins(bottom: 0);
myPlot.HideGrid();
myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the Population Plot category
