ScottPlot.NET
GitHub Repo stars

Scatter Plot with Points Only

The ScatterPoints() method can be used to create a scatter plot with markers only (line width is set to 0).

ScottPlot.Plot myPlot = new();

double[] xs = Generate.Consecutive(51);
double[] sin = Generate.Sin(51);
double[] cos = Generate.Cos(51);

myPlot.Add.ScatterPoints(xs, sin);
myPlot.Add.ScatterPoints(xs, cos);

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