ScottPlot.NET
GitHub Repo stars

Scatter Plot Coordinates

Scatter plots can be created from a collection of Coordinates.

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);
This recipe is one of many in the Scatter Plot category