ScottPlot.NET
GitHub Repo stars

Lollipop Positions

The position of each lollipop may be defined.

ScottPlot.Plot myPlot = new();

double[] xs = Generate.Range(0, 6.28, 0.314);
double[] ys = xs.Select(Math.Sin).ToArray();
var lollipop = myPlot.Add.Lollipop(ys, xs);

myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the Lollipop Plot category