Interactive Plotting Library for .NET

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.

scottplot

Quickstart

Create an interactive plot in less than a minute!

Supported Platforms

  • .NET 5.0
  • .NET Core 2.0 and newer
  • .NET Framework 4.6.1 and newer

ScottPlot 3.1.6 was the final version to support .NET Framework 4.5

ScottPlot Cookbook

The ScottPlot Cookbook demonstrates how to create line plots, bar charts, pie graphs, scatter plots, and more with just a few lines of code. An interactive version of every cookbook example is available as part of the ScottPlot Demo application.

Plot in the Cloud

This figure is an example of ScottPlot running in the cloud. Once daily an Azure Function logs the number of stars this repository has and creates a graph of the star history using ScottPlot. Since the output is simply a static image accessible by a URL, it can be displayed in places where JavaScript is not permitted like in this readme file. Rendering plots server-side allows automatically-updating plots to be displayed in many interesting places. Source code can be found in the StarGraph repository.

https://swhardendev.z13.web.core.windows.net/packagestats/scottplot-stars

Miscellaneous

About ScottPlot

ScottPlot was created by Scott W Harden (with many contributions from the open-source community) and is provided under the permissive MIT license.

Source code last modified on February 21st, 2021 (edit on GitHub)
---
Title: ScottPlot - Interactive Plotting Library for .NET
Description: 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.
---

# 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.

* [**ScottPlot Cookbook**](cookbook) 👈 ***See what ScottPlot can do!***

* [**ScottPlot Overview**](overview) - Core concepts summarized for new users

* [**ScottPlot FAQ**](faq) - Code examples demonstrating common tasks and answering frequently asked questions



<div class="text-center">

![](scottplot.gif)

</div>

### Quickstart

Create an interactive plot in less than a minute!

* [Windows Forms](quickstart#windows-forms-quickstart)
* [WPF](quickstart#wpf-quickstart)
* [Avalonia](quickstart#avalonia-quickstart)
* [Console Application](quickstart#console-quickstart)

### Supported Platforms

* .NET 5.0
* .NET Core 2.0 and newer
* .NET Framework 4.6.1 and newer

_ScottPlot [3.1.6](https://github.com/ScottPlot/ScottPlot/releases/tag/3.1.6) was the final version to support .NET Framework 4.5_

### ScottPlot Cookbook

The [**ScottPlot Cookbook**](cookbook) demonstrates how to create line plots, bar charts, pie graphs, scatter plots, and more with just a few lines of code. An interactive version of every cookbook example is available as part of the [ScottPlot Demo](demo) application.

<div class="text-center">

[![](cookbook/cookbook-thumbnails-small.jpg)](cookbook)

</div>

### Plot in the Cloud

**This figure is an example of ScottPlot running in the cloud.** Once daily an [Azure Function](https://azure.microsoft.com/en-us/services/functions/) logs the number of stars this repository has and creates a graph of the star history using ScottPlot. Since the output is simply a static image accessible by a URL, it can be displayed in places where JavaScript is not permitted like in this readme file. Rendering plots server-side allows automatically-updating plots to be displayed in many interesting places. Source code can be found in the [StarGraph](https://github.com/swharden/StarGraph) repository.

<div class="text-center">

![](https://swhardendev.z13.web.core.windows.net/packagestats/scottplot-stars.png)

</div>

### Miscellaneous

* **If you enjoy ScottPlot** you can [***give us a star***](https://github.com/ScottPlot/ScottPlot) ⭐

* **New features** are listed on the [releases](https://github.com/ScottPlot/ScottPlot/releases) page

* **Contributions are welcome!** See [contributing.md](https://github.com/ScottPlot/ScottPlot/blob/master/CONTRIBUTING.md) to get started

### About ScottPlot
ScottPlot was created by [Scott W Harden](https://www.swharden.com/wp/about-scott/) (with many contributions from the open-source community) and is provided under the permissive [MIT license](https://github.com/ScottPlot/ScottPlot/blob/master/LICENSE).