ScottPlot.NET
GitHub Repo stars

Scatter Plot with Lines Only

The ScatterLine() method can be used to create a scatter plot with a line only (marker size 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.ScatterLine(xs, sin);
myPlot.Add.ScatterLine(xs, cos);

myPlot.SavePng("demo.png", 400, 300);

Edit on GitHub