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).

This code sample is specific to ScottPlot 5 (details)
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);

Edit on GitHub