ScottPlot

ScottPlot is a free and open-source plotting library for .NET that makes it easy to interactively display large datasets. Line plots, bar charts, pie graphs, scatter plots, and more can be created with just a few lines of code.

Quickstart

double[] xs = { 1, 2, 3, 4, 5 };
double[] ys = { 1, 4, 9, 16, 25 };
var plt = new ScottPlot.Plot(400, 300);
plt.AddScatter(xs, ys);
plt.SaveFig("quickstart.png");

Cookbook and Demo

The ScottPlot Cookbook demonstrates how to create line plots, bar charts, pie graphs, scatter plots, and more with just a few lines of code.

The ScottPlot Demo is a click-to-run application that demonstrates mouse-interactive versions of every cookbook recipe.

Plot in the Cloud

ScottPlot does not require a GUI so it can be used to create plots in cloud applications. The images below are regenerated hourly using Azure Functions to update star metrics from the GitHub API and download count from the NuGet API. The data is plotted with ScottPlot and saved as an image file in blob storage.

Try it out! Give us a star and come back in an hour and your name will appear here: