ScottPlot 3.1.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package ScottPlot --version 3.1.4
                    
NuGet\Install-Package ScottPlot -Version 3.1.4
                    
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="3.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ScottPlot" Version="3.1.4" />
                    
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 3.1.4
                    
#r "nuget: ScottPlot, 3.1.4"
                    
#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.
#addin nuget:?package=ScottPlot&version=3.1.4
                    
Install ScottPlot as a Cake Addin
#tool nuget:?package=ScottPlot&version=3.1.4
                    
Install ScottPlot as a Cake Tool

ScottPlot is a free and open-source interactive plotting library for .NET which makes it easy to interactively display data in a variety of formats. You can create interactive line plots, bar charts, scatter plots, etc., with just a few lines of code (see the ScottPlot Cookbook for examples).

alternate text is missing from this package README image

In graphical environments plots can be displayed interactively (left-click-drag to pan and right-click-drag to zoom) and in console applications plots can be created and saved as images.

ScottPlot targets multiple frameworks (.NET Framework 4.5 and .NET Core 3.0), has user controls for WinForms and WPF, and is available on NuGet with no dependencies.

Quickstart

Windows Forms Application

  1. Drag/Drop FormsPlot (from the toolbox) onto your form.
  2. Add this code to your startup sequence:
double[] xs = new double[] {1, 2, 3, 4, 5};
double[] ys = new double[] {1, 4, 9, 16, 25};
formsPlot1.plt.PlotScatter(xs, ys);
formsPlot1.Render();

Console Application

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

WPF Application

  1. Drag/Drop WpfPlot (from the toolbox) onto your form.
  2. Add this code to your startup sequence:
<ScottPlot:ScottPlotWPF Name="wpfPlot1" Margin="10"/>
<Button Content="Add Plot" Click="AddPlot"/>
<Button Content="Clear" Click="Clear"/>
double[] xs = new double[] {1, 2, 3, 4, 5};
double[] ys = new double[] {1, 4, 9, 16, 25};
wpfPlot1.plt.PlotScatter(xs, ys);
wpfPlot1.Render();
Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (36)

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

Spectrogram

A .NET Standard library for creating spectrograms

GitHub repositories (19)

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

Repository Stars
QuestPDF/QuestPDF
Generate and edit PDF documents in your .NET applications using the open-source QuestPDF library and its C# Fluent API. Build invoices, reports and data exports with ease.
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
ScottPlot/ScottPlot
Interactive plotting library for .NET
ariacom/Seal-Report
Database Reporting Tool and Tasks (.Net)
swharden/Csharp-Data-Visualization
Resources for visualizing data using C# and the .NET platform
polterguy/magic
An AI-based Low-Code and No-Code software development automation framework
chenxuuu/llcom
🛠功能强大的串口工具。支持Lua自动化处理、串口调试、WinUSB、串口曲线、TCP测试、MQTT测试、编码转换、乱码恢复等功能
asc-community/AngouriMath
New open-source cross-platform symbolic algebra library for C# and F#. Can be used for both production and research purposes.
VedAstro/VedAstro
A non-profit, open source project to make Vedic Astrology easily available to all.
OndrejNepozitek/Edgar-DotNet
Configurable procedural layout generator
rstropek/Samples
toniebox-reverse-engineering/teddy
With this tool you can dump existing files for the famous audio box or create custom ones.
ShootMe/FallGuysStats
Fall Guys Stats Tracker
project-sbc/Handheld-Control-Panel
RomanZhu/FixedPoint-Sharp
Fixed point math with 48.16 precision (based on lib by https://github.com/fholm)
HerrRiebmann/KDS2Bluetooth
Kawasaki Diagnostic Service Reader via Bluetooth
admin-shell-io/aasx-package-explorer
C# based viewer / editor for the Asset Administration Shell
nicolasdeory/firelight
A modular game integration for Razer Chroma and other RGB LED devices for League of Legends, Rocket League, Fortnite and many more.
ryanjon2040/UnrealNetworkProfiler
A modern WPF based Network Profiler for Unreal Engine.
Version Downloads Last updated
5.0.55 56,435 3/22/2025
5.0.54 89,579 1/26/2025
5.0.53 16,913 1/13/2025
5.0.52 5,593 1/9/2025
5.0.51 2,358 1/8/2025
5.0.50 3,180 1/7/2025
5.0.49 578 1/6/2025
5.0.48 2,819 1/6/2025
5.0.47 64,736 11/24/2024
5.0.46 21,544 11/17/2024
5.0.45 10,718 11/13/2024
5.0.44 6,458 11/9/2024
5.0.43 25,574 11/3/2024
5.0.42 6,533 10/30/2024
5.0.41 5,340 10/28/2024
5.0.40 14,068 10/16/2024
5.0.39 85,093 9/9/2024
5.0.38 10,029 9/2/2024
5.0.37 51,589 7/30/2024
5.0.36 51,132 6/29/2024
5.0.35 27,435 6/10/2024
5.0.34 78,290 5/5/2024
5.0.33 906 5/4/2024
5.0.32 3,929 5/1/2024
5.0.31 5,034 4/27/2024
5.0.30 1,284 4/27/2024
5.0.29 594 4/26/2024
5.0.28 1,513 4/25/2024
5.0.27 11,594 4/23/2024
5.0.26 17,125 4/14/2024
5.0.25 18,381 4/8/2024
5.0.24 3,535 4/7/2024
5.0.23 13,947 3/24/2024
5.0.22 11,605 3/17/2024
5.0.21 35,285 1/29/2024
5.0.20 7,611 1/22/2024
5.0.19 1,850 1/19/2024
5.0.18 2,723 1/18/2024
5.0.17 3,372 1/17/2024
5.0.16 755 1/16/2024
5.0.15 3,856 1/14/2024
5.0.14-beta 429 1/11/2024
5.0.13-beta 327 1/10/2024
5.0.12-beta 277 1/9/2024
5.0.11-beta 1,569 12/28/2023
5.0.10-beta 3,417 12/4/2023
5.0.9-beta 11,854 10/3/2023
5.0.8-beta 30,583 8/13/2023
5.0.7-beta 1,100 8/7/2023
5.0.6-beta 10,118 7/9/2023
5.0.5-beta 1,908 5/18/2023
5.0.4-beta 2,820 4/9/2023
5.0.3-beta 568 4/3/2023
5.0.2-beta 3,461 2/28/2023
5.0.1-beta 1,466 2/9/2023
5.0.0-beta 2,683 1/1/2023
4.1.74 41,434 4/14/2024
4.1.73 15,373 3/24/2024
4.1.72 5,579 3/17/2024
4.1.71 14,097 1/22/2024
4.1.70 52,957 12/28/2023
4.1.69 30,404 12/4/2023
4.1.68 89,803 10/3/2023
4.1.67 71,621 8/13/2023
4.1.66 65,723 8/7/2023
4.1.65 30,082 7/9/2023
4.1.64 65,262 5/18/2023
4.1.63 24,223 4/9/2023
4.1.62 8,411 4/3/2023
4.1.61 40,108 2/28/2023
4.1.60 57,549 12/23/2022
4.1.59 110,069 11/7/2022
4.1.58 34,937 9/9/2022
4.1.57 31,770 8/18/2022
4.1.56 2,562 8/16/2022
4.1.55 4,894 8/15/2022
4.1.53 3,426 8/12/2022
4.1.52 55,853 7/10/2022
4.1.51 7,322 6/30/2022
4.1.50 3,550 6/26/2022
4.1.49 3,675 6/22/2022
4.1.48 4,448 6/9/2022
4.1.47 2,963 6/8/2022
4.1.46 2,882 6/6/2022
4.1.45 40,122 5/6/2022
4.1.44 2,055 5/5/2022
4.1.43 6,803 5/3/2022
4.1.42 2,521 5/1/2022
4.1.41 12,598 4/9/2022
4.1.40 2,668 4/7/2022
4.1.39 9,587 4/1/2022
4.1.38 2,081 3/31/2022
4.1.37 87,231 3/26/2022
4.1.36 6,897 3/19/2022
4.1.35 6,044 3/7/2022
4.1.34 6,343 3/4/2022
4.1.33 17,588 2/5/2022
4.1.32 6,245 1/24/2022
4.1.31 11,968 1/18/2022
4.1.30 2,776 1/15/2022
4.1.29 19,735 1/2/2022
4.1.28 1,964 1/2/2022
4.1.27 47,777 10/24/2021
4.1.26 9,404 10/12/2021
4.1.25 5,550 10/6/2021
4.1.24 2,742 9/26/2021
4.1.23 1,329 9/26/2021
4.1.22 1,335 9/26/2021
4.1.21 3,723 9/18/2021
4.1.20 4,317 9/9/2021
4.1.19 1,506 9/8/2021
4.1.18 4,497 9/8/2021
4.1.17 44,794 8/25/2021
4.1.16 18,181 5/30/2021
4.1.15 1,789 5/27/2021
4.1.14 4,543 5/23/2021
4.1.13-beta 1,681 5/2/2021
4.1.12-beta 1,411 4/12/2021
4.1.11-beta 4,981 3/30/2021
4.1.10-beta 1,475 3/21/2021
4.1.9-beta 2,441 2/21/2021
4.1.8-beta 943 2/16/2021
4.1.7-beta 3,006 2/14/2021
4.1.6-beta 1,129 2/8/2021
4.1.5-beta 1,002 2/1/2021
4.1.4-beta 896 1/25/2021
4.1.3-beta 1,097 12/27/2020
4.1.2-beta 1,030 12/12/2020
4.1.1-beta 957 11/29/2020
4.1.0-beta 926 11/29/2020
4.0.49 6,649 8/25/2021
4.0.48 69,348 12/27/2020
4.0.47 17,806 12/13/2020
4.0.46 1,533 12/11/2020
4.0.45 2,975 11/25/2020
4.0.44 1,679 11/22/2020
4.0.42 30,594 9/27/2020
4.0.41 1,545 9/26/2020
4.0.40 2,516 9/20/2020
4.0.39 38,492 8/9/2020
4.0.38 4,031 7/7/2020
4.0.37 2,904 6/22/2020
4.0.36 1,302 6/22/2020
4.0.35 2,332 6/9/2020
4.0.34 3,227 5/18/2020
4.0.33 1,355 5/18/2020
4.0.32 1,361 5/17/2020
4.0.31 2,492 5/6/2020
4.0.30 1,467 5/4/2020
4.0.29 36,186 4/11/2020
4.0.28 2,098 4/7/2020
4.0.27 1,854 4/5/2020
4.0.26 1,498 4/5/2020
4.0.25 1,921 3/29/2020
4.0.24 1,507 3/27/2020
4.0.23 1,439 3/23/2020
4.0.22 1,651 3/17/2020
4.0.21 12,360 3/15/2020
4.0.19 2,789 2/29/2020
4.0.18 5,866 2/7/2020
4.0.17 1,956 2/6/2020
4.0.16 1,436 2/2/2020
4.0.15 1,492 1/28/2020
4.0.14 1,479 1/24/2020
4.0.13 2,240 1/21/2020
4.0.12 1,258 1/21/2020
4.0.11 1,370 1/19/2020
4.0.10 1,513 1/18/2020
4.0.9 6,607 12/4/2019
4.0.8 804 12/3/2019
4.0.7 1,347 12/1/2019
4.0.5 1,582 11/27/2019
4.0.4 1,368 11/24/2019
4.0.3 1,332 11/23/2019
4.0.2 1,537 11/9/2019
4.0.1 2,958 11/3/2019
3.1.6 4,190 10/21/2019
3.1.5 1,099 10/7/2019
3.1.4 963 9/22/2019
3.1.3 1,214 8/25/2019
3.1.1 1,182 8/20/2019
3.0.9 2,065 8/12/2019
3.0.8 1,024 8/4/2019
3.0.7 925 7/27/2019
3.0.6 1,020 6/30/2019
3.0.5 916 6/24/2019
3.0.4 852 6/24/2019
3.0.3 3,332 5/29/2019
3.0.2 945 5/28/2019
3.0.1 2,135 5/28/2019