ScottPlot.NET
GitHub Repo stars

Scatter Plot Coordinates

Scatter plots can be created from a collection of Coordinates.

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

Coordinates[] coordinates =
{
    new(1, 1),
    new(2, 4),
    new(3, 9),
    new(4, 16),
    new(5, 25),
};

myPlot.Add.Scatter(coordinates);

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

Edit on GitHub