ScottPlot.NET
GitHub Repo stars

Scatter Generic

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

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

Edit on GitHub