ScottPlot is a free and open-source plotting library for .NET that makes it easy to interactively display large datasets. The ScottPlot Cookbook demonstrates how to create line plots, bar charts, pie graphs, scatter plots, and more with just a few lines of code.
-
ScottPlot Cookbook 👈 Learn how to use ScottPlot
-
ScottPlot Demo 👈 See what ScottPlot can do
-
Quickstart: WinForms, WPF, Console, Avalonia, Eto, PowerShell, Notebook
Windows Forms: Use NuGet to install ScottPlot.WinForms
, drag/drop a FormsPlot
onto your form, then add the following to your start-up sequence:
double[] xs = new double[] {1, 2, 3, 4, 5};
double[] ys = new double[] {1, 4, 9, 16, 25};
formsPlot1.Plot.AddScatter(xs, ys);
formsPlot1.Refresh();
- Console Application Quickstart
- Windows Forms Quickstart
- WPF Quickstart
- Avalonia Quickstart
- Eto Forms Quickstart
- PowerShell Quickstart
- .NET Interactive Notebook Quickstart
These images are generated by ScottPlot in the cloud. Every hour an Azure Function hits the GitHub API to get an updated list of stargazers, then uses ScottPlot to create a figure from this data and saves it to web-accessible blob storage. Since this automatically-generated plot is just a static image accessible by a URL, it can be displayed in places where JavaScript is not permitted (like in this readme file) to display dynamic data.
Try it out! Give us a star and come back in an hour and your name will appear here
✔️ ScottPlot 4 is stable and recommended for all users
See the roadmap and changelog for more information
- In July, 2022 maintainers started using the ScottPlot Discord Channel to discuss progress developing the next major version of ScottPlot. Contributors and users are welcome to check it out!
-
The ScottPlot Changelog details the most recent features and bug fixes.
-
ScottPlot was created by Scott W Harden and enhanced by many contributions from the open-source community.
-
ScottPlot is provided under the the permissive MIT license and is free to modify and use for any purpose.
-
If you enjoy ScottPlot give it a star! ⭐