ScottPlot 3.1.3

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

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

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

Showing the top 5 NuGet packages that depend on ScottPlot:

Package Downloads
ScottPlot.WPF The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

User controls for displaying interactive plots in WPF applications

ScottPlot.WinForms The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

User controls for displaying interactive plots in Windows Forms applications

ScottPlot.Avalonia The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

User controls for displaying interactive plots in Avalonia applications

BioCore

A .NET library & program for annotating, & editing various microscopy imaging formats using Bioformats supported images. including whole slide, pyramidal & series.

ScottPlot.Eto The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

User controls for displaying interactive plots in Eto applications

GitHub repositories (14)

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

Repository Stars
ariacom/Seal-Report
Database Reporting Tool and Tasks (.Net)
swharden/Csharp-Data-Visualization
Resources for visualizing data using C# and the .NET platform
asc-community/AngouriMath
New open-source cross-platform symbolic algebra library for C# and F#. Can be used for both production and research purposes.
chenxuuu/llcom
🛠功能强大的串口工具。支持Lua自动化处理、串口调试、串口监听、串口曲线、TCP测试、MQTT测试、编码转换、乱码恢复等功能
rstropek/Samples
Version Downloads Last updated
5.0.26 1,815 4/14/2024
5.0.25 4,855 4/8/2024
5.0.24 1,337 4/7/2024
5.0.23 5,972 3/24/2024
5.0.22 3,848 3/17/2024
5.0.21 17,347 1/29/2024
5.0.20 3,583 1/22/2024
5.0.19 1,308 1/19/2024
5.0.18 1,041 1/18/2024
5.0.17 1,870 1/17/2024
5.0.16 498 1/16/2024
5.0.15 1,040 1/14/2024
5.0.14-beta 331 1/11/2024
5.0.13-beta 248 1/10/2024
5.0.12-beta 199 1/9/2024
5.0.11-beta 1,330 12/28/2023
5.0.10-beta 2,084 12/4/2023
5.0.9-beta 11,366 10/3/2023
5.0.8-beta 22,428 8/13/2023
5.0.7-beta 1,021 8/7/2023
5.0.6-beta 5,852 7/9/2023
5.0.5-beta 1,695 5/18/2023
5.0.4-beta 2,380 4/9/2023
5.0.3-beta 500 4/3/2023
5.0.2-beta 2,740 2/28/2023
5.0.1-beta 1,223 2/9/2023
5.0.0-beta 2,272 1/1/2023
4.1.74 364 4/14/2024
4.1.73 1,237 3/24/2024
4.1.72 1,324 3/17/2024
4.1.71 5,420 1/22/2024
4.1.70 16,353 12/28/2023
4.1.69 14,570 12/4/2023
4.1.68 46,020 10/3/2023
4.1.67 34,148 8/13/2023
4.1.66 27,365 8/7/2023
4.1.65 16,052 7/9/2023
4.1.64 48,330 5/18/2023
4.1.63 21,269 4/9/2023
4.1.62 6,191 4/3/2023
4.1.61 25,814 2/28/2023
4.1.60 43,025 12/23/2022
4.1.59 70,445 11/7/2022
4.1.58 30,538 9/9/2022
4.1.57 16,803 8/18/2022
4.1.56 2,332 8/16/2022
4.1.55 3,882 8/15/2022
4.1.53 2,807 8/12/2022
4.1.52 34,754 7/10/2022
4.1.51 6,306 6/30/2022
4.1.50 3,037 6/26/2022
4.1.49 2,955 6/22/2022
4.1.48 3,909 6/9/2022
4.1.47 2,715 6/8/2022
4.1.46 2,658 6/6/2022
4.1.45 34,632 5/6/2022
4.1.44 1,919 5/5/2022
4.1.43 5,895 5/3/2022
4.1.42 2,256 5/1/2022
4.1.41 10,015 4/9/2022
4.1.40 2,448 4/7/2022
4.1.39 9,202 4/1/2022
4.1.38 1,901 3/31/2022
4.1.37 48,638 3/26/2022
4.1.36 6,017 3/19/2022
4.1.35 5,123 3/7/2022
4.1.34 4,746 3/4/2022
4.1.33 15,181 2/5/2022
4.1.32 5,773 1/24/2022
4.1.31 8,021 1/18/2022
4.1.30 2,556 1/15/2022
4.1.29 16,500 1/2/2022
4.1.28 1,577 1/2/2022
4.1.27 39,802 10/24/2021
4.1.26 5,278 10/12/2021
4.1.25 5,343 10/6/2021
4.1.24 2,484 9/26/2021
4.1.23 1,201 9/26/2021
4.1.22 1,197 9/26/2021
4.1.21 3,159 9/18/2021
4.1.20 3,957 9/9/2021
4.1.19 1,327 9/8/2021
4.1.18 1,292 9/8/2021
4.1.17 26,002 8/25/2021
4.1.16 14,585 5/30/2021
4.1.15 1,619 5/27/2021
4.1.14 3,398 5/23/2021
4.1.13-beta 1,551 5/2/2021
4.1.12-beta 1,267 4/12/2021
4.1.11-beta 4,877 3/30/2021
4.1.10-beta 1,348 3/21/2021
4.1.9-beta 2,237 2/21/2021
4.1.8-beta 841 2/16/2021
4.1.7-beta 2,898 2/14/2021
4.1.6-beta 1,006 2/8/2021
4.1.5-beta 898 2/1/2021
4.1.4-beta 786 1/25/2021
4.1.3-beta 975 12/27/2020
4.1.2-beta 923 12/12/2020
4.1.1-beta 838 11/29/2020
4.1.0-beta 818 11/29/2020
4.0.49 6,008 8/25/2021
4.0.48 54,114 12/27/2020
4.0.47 13,808 12/13/2020
4.0.46 1,393 12/11/2020
4.0.45 2,778 11/25/2020
4.0.44 1,543 11/22/2020
4.0.42 26,471 9/27/2020
4.0.41 1,411 9/26/2020
4.0.40 2,218 9/20/2020
4.0.39 33,058 8/9/2020
4.0.38 3,594 7/7/2020
4.0.37 2,411 6/22/2020
4.0.36 1,178 6/22/2020
4.0.35 2,112 6/9/2020
4.0.34 3,091 5/18/2020
4.0.33 1,239 5/18/2020
4.0.32 1,240 5/17/2020
4.0.31 2,370 5/6/2020
4.0.30 1,312 5/4/2020
4.0.29 17,698 4/11/2020
4.0.28 1,726 4/7/2020
4.0.27 1,736 4/5/2020
4.0.26 1,378 4/5/2020
4.0.25 1,756 3/29/2020
4.0.24 1,354 3/27/2020
4.0.23 1,325 3/23/2020
4.0.22 1,540 3/17/2020
4.0.21 7,423 3/15/2020
4.0.19 2,659 2/29/2020
4.0.18 5,223 2/7/2020
4.0.17 1,843 2/6/2020
4.0.16 1,325 2/2/2020
4.0.15 1,358 1/28/2020
4.0.14 1,357 1/24/2020
4.0.13 2,116 1/21/2020
4.0.12 1,130 1/21/2020
4.0.11 1,252 1/19/2020
4.0.10 1,309 1/18/2020
4.0.9 6,379 12/4/2019
4.0.8 704 12/3/2019
4.0.7 1,211 12/1/2019
4.0.5 1,432 11/27/2019
4.0.4 1,260 11/24/2019
4.0.3 1,217 11/23/2019
4.0.2 1,392 11/9/2019
4.0.1 2,402 11/3/2019
3.1.6 3,394 10/21/2019
3.1.5 968 10/7/2019
3.1.4 842 9/22/2019
3.1.3 1,111 8/25/2019
3.1.1 1,071 8/20/2019
3.0.9 1,799 8/12/2019
3.0.8 920 8/4/2019
3.0.7 828 7/27/2019
3.0.6 901 6/30/2019
3.0.5 821 6/24/2019
3.0.4 758 6/24/2019
3.0.3 3,075 5/29/2019
3.0.2 834 5/28/2019
3.0.1 1,273 5/28/2019