ScottPlot 5.0.23

There is a newer version of this package available.
See the version list below for details.
dotnet add package ScottPlot --version 5.0.23
                    
NuGet\Install-Package ScottPlot -Version 5.0.23
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ScottPlot" Version="5.0.23" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ScottPlot" Version="5.0.23" />
                    
Directory.Packages.props
<PackageReference Include="ScottPlot" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ScottPlot --version 5.0.23
                    
#r "nuget: ScottPlot, 5.0.23"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ScottPlot@5.0.23
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ScottPlot&version=5.0.23
                    
Install as a Cake Addin
#tool nuget:?package=ScottPlot&version=5.0.23
                    
Install as a Cake Tool

ScottPlot is a free and open-source plotting library for .NET that makes it easy to interactively display large datasets.

alternate text is missing from this package README image

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

Quickstart

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);

alternate text is missing from this package README image

Windows Forms Quickstart

Install the ScottPlot.WinForms NuGet package, drop a FormsPlot from the toolbox onto your form, then add the following to your start-up sequence:

double[] dataX = { 1, 2, 3, 4, 5 };
double[] dataY = { 1, 4, 9, 16, 25 };

formsPlot1.Plot.Add.Scatter(dataX, dataY);
formsPlot1.Refresh();

alternate text is missing from this package README image

More Quickstarts

Interactive Demo

The ScottPlot Demo allows you to run these examples interactively.

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.

alternate text is missing from this package README image

Versions

  • ScottPlot 5.0 is the newest version of ScottPlot. ScottPlot 5 is actively developed and supports all operating systems. The API is similar but not identical to ScottPlot 4. See the What's New in ScottPlot 5.0 page for details.

  • ScottPlot 4.1 is a stable version of ScottPlot which continues to be maintained but no longer receives major new features. ScottPlot 4 supported all operating systems through .NET 6, but after .NET 7 it can only be used in projects that target Windows.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (45)

Showing the top 5 NuGet packages that depend on ScottPlot:

Package Downloads
ScottPlot.WPF

User controls for displaying interactive plots in WPF applications

ScottPlot.WinForms

User controls for displaying interactive plots in Windows Forms applications

ScottPlot.Avalonia

User controls for displaying interactive plots in Avalonia applications

ScottPlot.Eto

User controls for displaying interactive plots in Eto applications

Grebok.Extensions

Grebok Framework

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on ScottPlot:

Repository Stars
QuestPDF/QuestPDF
QuestPDF is a modern library for PDF document generation. Its fluent C# API lets you design complex layouts with clean, readable code. Create documents using a flexible, component-based approach.
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
Version Downloads Last Updated
5.1.57 179,422 10/11/2025
5.0.56 100,403 8/23/2025
5.0.55 363,885 3/22/2025
5.0.54 187,712 1/26/2025
5.0.53 21,480 1/13/2025
5.0.52 9,188 1/9/2025
5.0.51 3,143 1/8/2025
5.0.50 5,640 1/7/2025
5.0.49 1,959 1/6/2025
5.0.48 3,398 1/6/2025
5.0.47 94,645 11/24/2024
5.0.46 30,382 11/17/2024
5.0.45 13,664 11/13/2024
5.0.44 8,082 11/9/2024
5.0.43 35,303 11/3/2024
5.0.42 10,470 10/30/2024
5.0.41 5,938 10/28/2024
5.0.40 16,913 10/16/2024
5.0.39 132,672 9/9/2024
5.0.23 15,802 3/24/2024
Loading failed