ScottPlot 3.1.1
See the version list below for details.
dotnet add package ScottPlot --version 3.1.1
NuGet\Install-Package ScottPlot -Version 3.1.1
<PackageReference Include="ScottPlot" Version="3.1.1" />
paket add ScottPlot --version 3.1.1
#r "nuget: ScottPlot, 3.1.1"
// Install ScottPlot as a Cake Addin #addin nuget:?package=ScottPlot&version=3.1.1 // Install ScottPlot as a Cake Tool #tool nuget:?package=ScottPlot&version=3.1.1
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 generate line plots, bar charts, scatter plots, etc., with just a few lines of code (see the ScottPlot Cookbook for examples).
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
- Drag/Drop FormsPlot (from the toolbox) onto your form.
- 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
- Drag/Drop WpfPlot (from the toolbox) onto your form.
- 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();
Links
Product | Versions 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. |
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.47 | 2,844 | 11/24/2024 |
5.0.46 | 9,459 | 11/17/2024 |
5.0.45 | 4,512 | 11/13/2024 |
5.0.44 | 4,796 | 11/9/2024 |
5.0.43 | 8,150 | 11/3/2024 |
5.0.42 | 4,054 | 10/30/2024 |
5.0.41 | 4,345 | 10/28/2024 |
5.0.40 | 10,503 | 10/16/2024 |
5.0.39 | 41,572 | 9/9/2024 |
5.0.38 | 6,515 | 9/2/2024 |
5.0.37 | 31,263 | 7/30/2024 |
5.0.36 | 39,997 | 6/29/2024 |
5.0.35 | 21,139 | 6/10/2024 |
5.0.34 | 58,595 | 5/5/2024 |
5.0.33 | 796 | 5/4/2024 |
5.0.32 | 3,036 | 5/1/2024 |
5.0.31 | 4,592 | 4/27/2024 |
5.0.30 | 1,054 | 4/27/2024 |
5.0.29 | 500 | 4/26/2024 |
5.0.28 | 1,436 | 4/25/2024 |
5.0.27 | 9,397 | 4/23/2024 |
5.0.26 | 15,406 | 4/14/2024 |
5.0.25 | 14,343 | 4/8/2024 |
5.0.24 | 3,315 | 4/7/2024 |
5.0.23 | 10,714 | 3/24/2024 |
5.0.22 | 8,457 | 3/17/2024 |
5.0.21 | 29,002 | 1/29/2024 |
5.0.20 | 6,612 | 1/22/2024 |
5.0.19 | 1,598 | 1/19/2024 |
5.0.18 | 2,187 | 1/18/2024 |
5.0.17 | 2,928 | 1/17/2024 |
5.0.16 | 646 | 1/16/2024 |
5.0.15 | 2,161 | 1/14/2024 |
5.0.14-beta | 403 | 1/11/2024 |
5.0.13-beta | 304 | 1/10/2024 |
5.0.12-beta | 245 | 1/9/2024 |
5.0.11-beta | 1,523 | 12/28/2023 |
5.0.10-beta | 3,338 | 12/4/2023 |
5.0.9-beta | 11,785 | 10/3/2023 |
5.0.8-beta | 30,426 | 8/13/2023 |
5.0.7-beta | 1,071 | 8/7/2023 |
5.0.6-beta | 8,213 | 7/9/2023 |
5.0.5-beta | 1,858 | 5/18/2023 |
5.0.4-beta | 2,715 | 4/9/2023 |
5.0.3-beta | 542 | 4/3/2023 |
5.0.2-beta | 3,237 | 2/28/2023 |
5.0.1-beta | 1,378 | 2/9/2023 |
5.0.0-beta | 2,468 | 1/1/2023 |
4.1.74 | 19,430 | 4/14/2024 |
4.1.73 | 8,193 | 3/24/2024 |
4.1.72 | 3,740 | 3/17/2024 |
4.1.71 | 10,739 | 1/22/2024 |
4.1.70 | 42,181 | 12/28/2023 |
4.1.69 | 25,299 | 12/4/2023 |
4.1.68 | 75,520 | 10/3/2023 |
4.1.67 | 53,139 | 8/13/2023 |
4.1.66 | 45,649 | 8/7/2023 |
4.1.65 | 23,148 | 7/9/2023 |
4.1.64 | 58,504 | 5/18/2023 |
4.1.63 | 22,974 | 4/9/2023 |
4.1.62 | 7,561 | 4/3/2023 |
4.1.61 | 34,666 | 2/28/2023 |
4.1.60 | 51,576 | 12/23/2022 |
4.1.59 | 91,379 | 11/7/2022 |
4.1.58 | 33,072 | 9/9/2022 |
4.1.57 | 24,681 | 8/18/2022 |
4.1.56 | 2,461 | 8/16/2022 |
4.1.55 | 4,697 | 8/15/2022 |
4.1.53 | 3,160 | 8/12/2022 |
4.1.52 | 45,174 | 7/10/2022 |
4.1.51 | 6,646 | 6/30/2022 |
4.1.50 | 3,317 | 6/26/2022 |
4.1.49 | 3,590 | 6/22/2022 |
4.1.48 | 4,218 | 6/9/2022 |
4.1.47 | 2,836 | 6/8/2022 |
4.1.46 | 2,776 | 6/6/2022 |
4.1.45 | 37,950 | 5/6/2022 |
4.1.44 | 2,000 | 5/5/2022 |
4.1.43 | 6,561 | 5/3/2022 |
4.1.42 | 2,396 | 5/1/2022 |
4.1.41 | 11,613 | 4/9/2022 |
4.1.40 | 2,575 | 4/7/2022 |
4.1.39 | 9,392 | 4/1/2022 |
4.1.38 | 2,001 | 3/31/2022 |
4.1.37 | 70,308 | 3/26/2022 |
4.1.36 | 6,658 | 3/19/2022 |
4.1.35 | 5,300 | 3/7/2022 |
4.1.34 | 5,566 | 3/4/2022 |
4.1.33 | 16,392 | 2/5/2022 |
4.1.32 | 6,075 | 1/24/2022 |
4.1.31 | 10,199 | 1/18/2022 |
4.1.30 | 2,674 | 1/15/2022 |
4.1.29 | 19,103 | 1/2/2022 |
4.1.28 | 1,777 | 1/2/2022 |
4.1.27 | 44,387 | 10/24/2021 |
4.1.26 | 7,277 | 10/12/2021 |
4.1.25 | 5,458 | 10/6/2021 |
4.1.24 | 2,617 | 9/26/2021 |
4.1.23 | 1,268 | 9/26/2021 |
4.1.22 | 1,263 | 9/26/2021 |
4.1.21 | 3,495 | 9/18/2021 |
4.1.20 | 4,133 | 9/9/2021 |
4.1.19 | 1,418 | 9/8/2021 |
4.1.18 | 3,034 | 9/8/2021 |
4.1.17 | 35,165 | 8/25/2021 |
4.1.16 | 16,523 | 5/30/2021 |
4.1.15 | 1,713 | 5/27/2021 |
4.1.14 | 4,024 | 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,037 | 12/27/2020 |
4.1.2-beta | 976 | 12/12/2020 |
4.1.1-beta | 900 | 11/29/2020 |
4.1.0-beta | 866 | 11/29/2020 |
4.0.49 | 6,360 | 8/25/2021 |
4.0.48 | 62,649 | 12/27/2020 |
4.0.47 | 16,620 | 12/13/2020 |
4.0.46 | 1,459 | 12/11/2020 |
4.0.45 | 2,890 | 11/25/2020 |
4.0.44 | 1,601 | 11/22/2020 |
4.0.42 | 28,679 | 9/27/2020 |
4.0.41 | 1,467 | 9/26/2020 |
4.0.40 | 2,378 | 9/20/2020 |
4.0.39 | 37,538 | 8/9/2020 |
4.0.38 | 3,819 | 7/7/2020 |
4.0.37 | 2,806 | 6/22/2020 |
4.0.36 | 1,236 | 6/22/2020 |
4.0.35 | 2,245 | 6/9/2020 |
4.0.34 | 3,157 | 5/18/2020 |
4.0.33 | 1,289 | 5/18/2020 |
4.0.32 | 1,292 | 5/17/2020 |
4.0.31 | 2,427 | 5/6/2020 |
4.0.30 | 1,381 | 5/4/2020 |
4.0.29 | 25,458 | 4/11/2020 |
4.0.28 | 1,905 | 4/7/2020 |
4.0.27 | 1,789 | 4/5/2020 |
4.0.26 | 1,430 | 4/5/2020 |
4.0.25 | 1,841 | 3/29/2020 |
4.0.24 | 1,431 | 3/27/2020 |
4.0.23 | 1,371 | 3/23/2020 |
4.0.22 | 1,586 | 3/17/2020 |
4.0.21 | 10,037 | 3/15/2020 |
4.0.19 | 2,721 | 2/29/2020 |
4.0.18 | 5,515 | 2/7/2020 |
4.0.17 | 1,888 | 2/6/2020 |
4.0.16 | 1,370 | 2/2/2020 |
4.0.15 | 1,414 | 1/28/2020 |
4.0.14 | 1,409 | 1/24/2020 |
4.0.13 | 2,173 | 1/21/2020 |
4.0.12 | 1,187 | 1/21/2020 |
4.0.11 | 1,305 | 1/19/2020 |
4.0.10 | 1,402 | 1/18/2020 |
4.0.9 | 6,487 | 12/4/2019 |
4.0.8 | 734 | 12/3/2019 |
4.0.7 | 1,271 | 12/1/2019 |
4.0.5 | 1,511 | 11/27/2019 |
4.0.4 | 1,308 | 11/24/2019 |
4.0.3 | 1,267 | 11/23/2019 |
4.0.2 | 1,460 | 11/9/2019 |
4.0.1 | 2,673 | 11/3/2019 |
3.1.6 | 3,728 | 10/21/2019 |
3.1.5 | 1,014 | 10/7/2019 |
3.1.4 | 888 | 9/22/2019 |
3.1.3 | 1,142 | 8/25/2019 |
3.1.1 | 1,103 | 8/20/2019 |
3.0.9 | 1,956 | 8/12/2019 |
3.0.8 | 958 | 8/4/2019 |
3.0.7 | 858 | 7/27/2019 |
3.0.6 | 936 | 6/30/2019 |
3.0.5 | 848 | 6/24/2019 |
3.0.4 | 785 | 6/24/2019 |
3.0.3 | 3,216 | 5/29/2019 |
3.0.2 | 873 | 5/28/2019 |
3.0.1 | 1,684 | 5/28/2019 |