ScottPlot.NET

Console Application Quickstart

Step 1: Install the ScottPlot NuGet package. Linux & MacOS users may need to install additional packages.

Step 2: Write some code to plot data and save it as an image file.

This code sample is specific to ScottPlot 5 (details)
double[] dataX = { 1, 2, 3, 4, 5 };
double[] dataY = { 1, 4, 9, 16, 25 };

ScottPlot.Plot myPlot = new();
myPlot.Add.Scatter(dataX, dataY);

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