ScottPlot.NET
GitHub Repo stars

Scatter Generic

Scatter plots support generic data types, although double is typically the most performant.

ScottPlot.Plot myPlot = new();

int[] xs = { 1, 2, 3, 4, 5 };
float[] ys = { 1, 4, 9, 16, 25 };

myPlot.Add.Scatter(xs, ys);

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