ScottPlot.NET
GitHub Repo stars

Scatter Plot

Display paired X/Y data as a scatter plot.

This code sample is specific to ScottPlot 5 (details)
ScottPlot.Plot myPlot = new();

double[] dataX = { 1, 2, 3, 4, 5 };
double[] dataY = { 1, 4, 9, 16, 25 };
myPlot.Add.Scatter(dataX, dataY);

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

Edit on GitHub