ScottPlot.NET
GitHub Repo stars

Scatter Plot Quickstart

Scatter plots can be created from two arrays containing X and Y values.

ScottPlot.Plot myPlot = new();

double[] xs = { 1, 2, 3, 4, 5 };
double[] 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