ScottPlot 5.0.46
dotnet add package ScottPlot --version 5.0.46
NuGet\Install-Package ScottPlot -Version 5.0.46
<PackageReference Include="ScottPlot" Version="5.0.46" />
paket add ScottPlot --version 5.0.46
#r "nuget: ScottPlot, 5.0.46"
// Install ScottPlot as a Cake Addin #addin nuget:?package=ScottPlot&version=5.0.46 // Install ScottPlot as a Cake Tool #tool nuget:?package=ScottPlot&version=5.0.46
ScottPlot is a free and open-source plotting library for .NET that makes it easy to interactively display large datasets.
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);
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();
More Quickstarts
- Console Application Quickstart
- Windows Forms Quickstart
- WPF Quickstart
- WinUI Quickstart
- Uno Platform Quickstart
- Avalonia Quickstart
- Eto Quickstart
- Blazor Quickstart
- Powershell Quickstart
- Polyglot Notebook Quickstart
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.
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 | Versions 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. |
.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. |
-
.NETFramework 4.6.2
- HarfBuzzSharp.NativeAssets.Linux (>= 7.3.0.3)
- SkiaSharp (>= 2.88.9)
- SkiaSharp.HarfBuzz (>= 2.88.9)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 2.88.9)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- HarfBuzzSharp.NativeAssets.Linux (>= 7.3.0.3)
- SkiaSharp (>= 2.88.9)
- SkiaSharp.HarfBuzz (>= 2.88.9)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 2.88.9)
-
net6.0
- HarfBuzzSharp.NativeAssets.Linux (>= 7.3.0.3)
- SkiaSharp (>= 2.88.9)
- SkiaSharp.HarfBuzz (>= 2.88.9)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 2.88.9)
-
net8.0
- HarfBuzzSharp.NativeAssets.Linux (>= 7.3.0.3)
- SkiaSharp (>= 2.88.9)
- SkiaSharp.HarfBuzz (>= 2.88.9)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 2.88.9)
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 | 4,011 | 11/17/2024 |
5.0.45 | 3,983 | 11/13/2024 |
5.0.44 | 4,602 | 11/9/2024 |
5.0.43 | 7,143 | 11/3/2024 |
5.0.42 | 3,655 | 10/30/2024 |
5.0.41 | 4,281 | 10/28/2024 |
5.0.40 | 10,168 | 10/16/2024 |
5.0.39 | 39,396 | 9/9/2024 |
5.0.38 | 6,377 | 9/2/2024 |
5.0.37 | 30,535 | 7/30/2024 |
5.0.36 | 39,316 | 6/29/2024 |
5.0.35 | 20,843 | 6/10/2024 |
5.0.34 | 57,604 | 5/5/2024 |
5.0.33 | 786 | 5/4/2024 |
5.0.32 | 3,025 | 5/1/2024 |
5.0.31 | 4,579 | 4/27/2024 |
5.0.30 | 1,043 | 4/27/2024 |
5.0.29 | 485 | 4/26/2024 |
5.0.28 | 1,430 | 4/25/2024 |
5.0.27 | 9,249 | 4/23/2024 |
5.0.26 | 15,350 | 4/14/2024 |
5.0.25 | 14,123 | 4/8/2024 |
5.0.24 | 3,307 | 4/7/2024 |
5.0.23 | 10,568 | 3/24/2024 |
5.0.22 | 8,335 | 3/17/2024 |
5.0.21 | 28,676 | 1/29/2024 |
5.0.20 | 6,564 | 1/22/2024 |
5.0.19 | 1,589 | 1/19/2024 |
5.0.18 | 2,157 | 1/18/2024 |
5.0.17 | 2,906 | 1/17/2024 |
5.0.16 | 638 | 1/16/2024 |
5.0.15 | 2,114 | 1/14/2024 |
5.0.14-beta | 397 | 1/11/2024 |
5.0.13-beta | 300 | 1/10/2024 |
5.0.12-beta | 239 | 1/9/2024 |
5.0.11-beta | 1,517 | 12/28/2023 |
5.0.10-beta | 3,333 | 12/4/2023 |
5.0.9-beta | 11,778 | 10/3/2023 |
5.0.8-beta | 30,416 | 8/13/2023 |
5.0.7-beta | 1,069 | 8/7/2023 |
5.0.6-beta | 8,152 | 7/9/2023 |
5.0.5-beta | 1,856 | 5/18/2023 |
5.0.4-beta | 2,701 | 4/9/2023 |
5.0.3-beta | 540 | 4/3/2023 |
5.0.2-beta | 3,224 | 2/28/2023 |
5.0.1-beta | 1,375 | 2/9/2023 |
5.0.0-beta | 2,465 | 1/1/2023 |
4.1.74 | 18,663 | 4/14/2024 |
4.1.73 | 7,932 | 3/24/2024 |
4.1.72 | 3,694 | 3/17/2024 |
4.1.71 | 10,579 | 1/22/2024 |
4.1.70 | 41,863 | 12/28/2023 |
4.1.69 | 24,903 | 12/4/2023 |
4.1.68 | 74,661 | 10/3/2023 |
4.1.67 | 52,639 | 8/13/2023 |
4.1.66 | 45,065 | 8/7/2023 |
4.1.65 | 22,841 | 7/9/2023 |
4.1.64 | 58,227 | 5/18/2023 |
4.1.63 | 22,915 | 4/9/2023 |
4.1.62 | 7,518 | 4/3/2023 |
4.1.61 | 34,383 | 2/28/2023 |
4.1.60 | 51,361 | 12/23/2022 |
4.1.59 | 90,804 | 11/7/2022 |
4.1.58 | 32,968 | 9/9/2022 |
4.1.57 | 24,502 | 8/18/2022 |
4.1.56 | 2,456 | 8/16/2022 |
4.1.55 | 4,682 | 8/15/2022 |
4.1.53 | 3,144 | 8/12/2022 |
4.1.52 | 44,683 | 7/10/2022 |
4.1.51 | 6,630 | 6/30/2022 |
4.1.50 | 3,305 | 6/26/2022 |
4.1.49 | 3,586 | 6/22/2022 |
4.1.48 | 4,201 | 6/9/2022 |
4.1.47 | 2,829 | 6/8/2022 |
4.1.46 | 2,771 | 6/6/2022 |
4.1.45 | 37,763 | 5/6/2022 |
4.1.44 | 1,996 | 5/5/2022 |
4.1.43 | 6,547 | 5/3/2022 |
4.1.42 | 2,387 | 5/1/2022 |
4.1.41 | 11,540 | 4/9/2022 |
4.1.40 | 2,569 | 4/7/2022 |
4.1.39 | 9,384 | 4/1/2022 |
4.1.38 | 1,995 | 3/31/2022 |
4.1.37 | 69,630 | 3/26/2022 |
4.1.36 | 6,646 | 3/19/2022 |
4.1.35 | 5,295 | 3/7/2022 |
4.1.34 | 5,540 | 3/4/2022 |
4.1.33 | 16,336 | 2/5/2022 |
4.1.32 | 6,069 | 1/24/2022 |
4.1.31 | 10,127 | 1/18/2022 |
4.1.30 | 2,669 | 1/15/2022 |
4.1.29 | 19,081 | 1/2/2022 |
4.1.28 | 1,768 | 1/2/2022 |
4.1.27 | 44,273 | 10/24/2021 |
4.1.26 | 7,187 | 10/12/2021 |
4.1.25 | 5,453 | 10/6/2021 |
4.1.24 | 2,611 | 9/26/2021 |
4.1.23 | 1,264 | 9/26/2021 |
4.1.22 | 1,259 | 9/26/2021 |
4.1.21 | 3,487 | 9/18/2021 |
4.1.20 | 4,125 | 9/9/2021 |
4.1.19 | 1,414 | 9/8/2021 |
4.1.18 | 2,907 | 9/8/2021 |
4.1.17 | 34,767 | 8/25/2021 |
4.1.16 | 16,430 | 5/30/2021 |
4.1.15 | 1,708 | 5/27/2021 |
4.1.14 | 3,989 | 5/23/2021 |
4.1.13-beta | 1,615 | 5/2/2021 |
4.1.12-beta | 1,360 | 4/12/2021 |
4.1.11-beta | 4,925 | 3/30/2021 |
4.1.10-beta | 1,408 | 3/21/2021 |
4.1.9-beta | 2,350 | 2/21/2021 |
4.1.8-beta | 888 | 2/16/2021 |
4.1.7-beta | 2,950 | 2/14/2021 |
4.1.6-beta | 1,071 | 2/8/2021 |
4.1.5-beta | 943 | 2/1/2021 |
4.1.4-beta | 838 | 1/25/2021 |
4.1.3-beta | 1,034 | 12/27/2020 |
4.1.2-beta | 974 | 12/12/2020 |
4.1.1-beta | 897 | 11/29/2020 |
4.1.0-beta | 864 | 11/29/2020 |
4.0.49 | 6,348 | 8/25/2021 |
4.0.48 | 62,468 | 12/27/2020 |
4.0.47 | 16,489 | 12/13/2020 |
4.0.46 | 1,455 | 12/11/2020 |
4.0.45 | 2,882 | 11/25/2020 |
4.0.44 | 1,597 | 11/22/2020 |
4.0.42 | 28,601 | 9/27/2020 |
4.0.41 | 1,463 | 9/26/2020 |
4.0.40 | 2,374 | 9/20/2020 |
4.0.39 | 37,342 | 8/9/2020 |
4.0.38 | 3,806 | 7/7/2020 |
4.0.37 | 2,800 | 6/22/2020 |
4.0.36 | 1,231 | 6/22/2020 |
4.0.35 | 2,240 | 6/9/2020 |
4.0.34 | 3,152 | 5/18/2020 |
4.0.33 | 1,283 | 5/18/2020 |
4.0.32 | 1,288 | 5/17/2020 |
4.0.31 | 2,421 | 5/6/2020 |
4.0.30 | 1,377 | 5/4/2020 |
4.0.29 | 25,192 | 4/11/2020 |
4.0.28 | 1,895 | 4/7/2020 |
4.0.27 | 1,785 | 4/5/2020 |
4.0.26 | 1,426 | 4/5/2020 |
4.0.25 | 1,836 | 3/29/2020 |
4.0.24 | 1,425 | 3/27/2020 |
4.0.23 | 1,367 | 3/23/2020 |
4.0.22 | 1,582 | 3/17/2020 |
4.0.21 | 9,922 | 3/15/2020 |
4.0.19 | 2,717 | 2/29/2020 |
4.0.18 | 5,502 | 2/7/2020 |
4.0.17 | 1,884 | 2/6/2020 |
4.0.16 | 1,366 | 2/2/2020 |
4.0.15 | 1,409 | 1/28/2020 |
4.0.14 | 1,405 | 1/24/2020 |
4.0.13 | 2,170 | 1/21/2020 |
4.0.12 | 1,182 | 1/21/2020 |
4.0.11 | 1,301 | 1/19/2020 |
4.0.10 | 1,397 | 1/18/2020 |
4.0.9 | 6,478 | 12/4/2019 |
4.0.8 | 730 | 12/3/2019 |
4.0.7 | 1,266 | 12/1/2019 |
4.0.5 | 1,507 | 11/27/2019 |
4.0.4 | 1,304 | 11/24/2019 |
4.0.3 | 1,262 | 11/23/2019 |
4.0.2 | 1,454 | 11/9/2019 |
4.0.1 | 2,658 | 11/3/2019 |
3.1.6 | 3,705 | 10/21/2019 |
3.1.5 | 1,005 | 10/7/2019 |
3.1.4 | 884 | 9/22/2019 |
3.1.3 | 1,138 | 8/25/2019 |
3.1.1 | 1,098 | 8/20/2019 |
3.0.9 | 1,944 | 8/12/2019 |
3.0.8 | 954 | 8/4/2019 |
3.0.7 | 854 | 7/27/2019 |
3.0.6 | 932 | 6/30/2019 |
3.0.5 | 844 | 6/24/2019 |
3.0.4 | 781 | 6/24/2019 |
3.0.3 | 3,209 | 5/29/2019 |
3.0.2 | 867 | 5/28/2019 |
3.0.1 | 1,653 | 5/28/2019 |