ScottPlot 3.1.5

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

// Install ScottPlot as a Cake Tool
#tool nuget:?package=ScottPlot&version=3.1.5                

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 (34)

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 (18)

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

Repository Stars
QuestPDF/QuestPDF
QuestPDF is a modern open-source .NET library for PDF document generation. Offering comprehensive layout engine powered by concise and discoverable C# Fluent API. Easily generate PDF reports, invoices, exports, etc.
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
Version Downloads Last updated
5.0.46 6,555 11/17/2024
5.0.45 4,237 11/13/2024
5.0.44 4,713 11/9/2024
5.0.43 7,485 11/3/2024
5.0.42 3,816 10/30/2024
5.0.41 4,305 10/28/2024
5.0.40 10,307 10/16/2024
5.0.39 40,264 9/9/2024
5.0.38 6,415 9/2/2024
5.0.37 30,817 7/30/2024
5.0.36 39,648 6/29/2024
5.0.35 20,943 6/10/2024
5.0.34 57,909 5/5/2024
5.0.33 792 5/4/2024
5.0.32 3,032 5/1/2024
5.0.31 4,585 4/27/2024
5.0.30 1,047 4/27/2024
5.0.29 488 4/26/2024
5.0.28 1,433 4/25/2024
5.0.27 9,287 4/23/2024
5.0.26 15,369 4/14/2024
5.0.25 14,230 4/8/2024
5.0.24 3,313 4/7/2024
5.0.23 10,627 3/24/2024
5.0.22 8,391 3/17/2024
5.0.21 28,778 1/29/2024
5.0.20 6,587 1/22/2024
5.0.19 1,593 1/19/2024
5.0.18 2,171 1/18/2024
5.0.17 2,910 1/17/2024
5.0.16 644 1/16/2024
5.0.15 2,128 1/14/2024
5.0.14-beta 399 1/11/2024
5.0.13-beta 302 1/10/2024
5.0.12-beta 243 1/9/2024
5.0.11-beta 1,522 12/28/2023
5.0.10-beta 3,336 12/4/2023
5.0.9-beta 11,784 10/3/2023
5.0.8-beta 30,423 8/13/2023
5.0.7-beta 1,071 8/7/2023
5.0.6-beta 8,189 7/9/2023
5.0.5-beta 1,858 5/18/2023
5.0.4-beta 2,713 4/9/2023
5.0.3-beta 542 4/3/2023
5.0.2-beta 3,228 2/28/2023
5.0.1-beta 1,377 2/9/2023
5.0.0-beta 2,467 1/1/2023
4.1.74 18,990 4/14/2024
4.1.73 8,022 3/24/2024
4.1.72 3,717 3/17/2024
4.1.71 10,637 1/22/2024
4.1.70 42,008 12/28/2023
4.1.69 25,085 12/4/2023
4.1.68 74,969 10/3/2023
4.1.67 52,866 8/13/2023
4.1.66 45,349 8/7/2023
4.1.65 23,011 7/9/2023
4.1.64 58,313 5/18/2023
4.1.63 22,942 4/9/2023
4.1.62 7,536 4/3/2023
4.1.61 34,514 2/28/2023
4.1.60 51,446 12/23/2022
4.1.59 91,009 11/7/2022
4.1.58 33,020 9/9/2022
4.1.57 24,556 8/18/2022
4.1.56 2,458 8/16/2022
4.1.55 4,691 8/15/2022
4.1.53 3,152 8/12/2022
4.1.52 44,917 7/10/2022
4.1.51 6,640 6/30/2022
4.1.50 3,313 6/26/2022
4.1.49 3,588 6/22/2022
4.1.48 4,208 6/9/2022
4.1.47 2,834 6/8/2022
4.1.46 2,773 6/6/2022
4.1.45 37,840 5/6/2022
4.1.44 1,998 5/5/2022
4.1.43 6,553 5/3/2022
4.1.42 2,391 5/1/2022
4.1.41 11,557 4/9/2022
4.1.40 2,571 4/7/2022
4.1.39 9,388 4/1/2022
4.1.38 1,998 3/31/2022
4.1.37 69,836 3/26/2022
4.1.36 6,655 3/19/2022
4.1.35 5,298 3/7/2022
4.1.34 5,556 3/4/2022
4.1.33 16,363 2/5/2022
4.1.32 6,072 1/24/2022
4.1.31 10,149 1/18/2022
4.1.30 2,672 1/15/2022
4.1.29 19,089 1/2/2022
4.1.28 1,774 1/2/2022
4.1.27 44,314 10/24/2021
4.1.26 7,242 10/12/2021
4.1.25 5,455 10/6/2021
4.1.24 2,615 9/26/2021
4.1.23 1,266 9/26/2021
4.1.22 1,261 9/26/2021
4.1.21 3,492 9/18/2021
4.1.20 4,129 9/9/2021
4.1.19 1,416 9/8/2021
4.1.18 2,931 9/8/2021
4.1.17 34,918 8/25/2021
4.1.16 16,447 5/30/2021
4.1.15 1,711 5/27/2021
4.1.14 4,001 5/23/2021
4.1.13-beta 1,617 5/2/2021
4.1.12-beta 1,362 4/12/2021
4.1.11-beta 4,927 3/30/2021
4.1.10-beta 1,410 3/21/2021
4.1.9-beta 2,352 2/21/2021
4.1.8-beta 890 2/16/2021
4.1.7-beta 2,952 2/14/2021
4.1.6-beta 1,073 2/8/2021
4.1.5-beta 945 2/1/2021
4.1.4-beta 840 1/25/2021
4.1.3-beta 1,036 12/27/2020
4.1.2-beta 976 12/12/2020
4.1.1-beta 899 11/29/2020
4.1.0-beta 866 11/29/2020
4.0.49 6,352 8/25/2021
4.0.48 62,552 12/27/2020
4.0.47 16,541 12/13/2020
4.0.46 1,457 12/11/2020
4.0.45 2,887 11/25/2020
4.0.44 1,599 11/22/2020
4.0.42 28,622 9/27/2020
4.0.41 1,465 9/26/2020
4.0.40 2,376 9/20/2020
4.0.39 37,451 8/9/2020
4.0.38 3,813 7/7/2020
4.0.37 2,804 6/22/2020
4.0.36 1,234 6/22/2020
4.0.35 2,243 6/9/2020
4.0.34 3,155 5/18/2020
4.0.33 1,285 5/18/2020
4.0.32 1,290 5/17/2020
4.0.31 2,423 5/6/2020
4.0.30 1,379 5/4/2020
4.0.29 25,296 4/11/2020
4.0.28 1,903 4/7/2020
4.0.27 1,787 4/5/2020
4.0.26 1,428 4/5/2020
4.0.25 1,839 3/29/2020
4.0.24 1,429 3/27/2020
4.0.23 1,369 3/23/2020
4.0.22 1,584 3/17/2020
4.0.21 9,977 3/15/2020
4.0.19 2,719 2/29/2020
4.0.18 5,509 2/7/2020
4.0.17 1,886 2/6/2020
4.0.16 1,368 2/2/2020
4.0.15 1,412 1/28/2020
4.0.14 1,407 1/24/2020
4.0.13 2,172 1/21/2020
4.0.12 1,184 1/21/2020
4.0.11 1,303 1/19/2020
4.0.10 1,400 1/18/2020
4.0.9 6,485 12/4/2019
4.0.8 732 12/3/2019
4.0.7 1,269 12/1/2019
4.0.5 1,509 11/27/2019
4.0.4 1,306 11/24/2019
4.0.3 1,265 11/23/2019
4.0.2 1,458 11/9/2019
4.0.1 2,666 11/3/2019
3.1.6 3,710 10/21/2019
3.1.5 1,009 10/7/2019
3.1.4 886 9/22/2019
3.1.3 1,140 8/25/2019
3.1.1 1,100 8/20/2019
3.0.9 1,952 8/12/2019
3.0.8 956 8/4/2019
3.0.7 856 7/27/2019
3.0.6 934 6/30/2019
3.0.5 846 6/24/2019
3.0.4 783 6/24/2019
3.0.3 3,212 5/29/2019
3.0.2 871 5/28/2019
3.0.1 1,671 5/28/2019