Horizontal Lollipop Plot
Change the lollipop plot’s Orientation to Horizontal to cause stems to be drawn horizontally instead of vertically.
ScottPlot.Plot myPlot = new();
double[] xs = Generate.Sin(21);
double[] ys = Generate.Consecutive(21);
Coordinates[] coordinates = Coordinates.Zip(xs, ys);
var lollipop = myPlot.Add.Lollipop(coordinates);
lollipop.Orientation = Orientation.Horizontal;
myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the Lollipop Plot category
