FarNet.ScottPlot 2.0.1

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

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

FarNet.ScottPlot

FarNet friendly ScottPlot extension for .NET modules and scripts in PowerShell, F#, JavaScript.

Package

The package is designed for FarNet. To install FarNet and FarNet.ScottPlot, follow these steps.

The NuGet package FarNet.ScottPlot is installed to %FARHOME%\FarNet\Lib\FarNet.ScottPlot.

Samples

How to use

Use FarNet.ScottPlot.FormPlot which inherits the original ScottPlot.Plot. Setup the plot using the original members and call Show() to show the form.

For live plots, update and show in a loop until the plot is cancelled. Check for IsCancellationRequested or use the CancellationToken. Use ShowAsync(int) or Show(int) for intervals between updates.

Note that Show() shows the form and immediately returns. This is the desired behaviour for scripts in Far Manager or interactive pwsh and fsx consoles. Use Show(-1) in order to block the current thread and avoid immediate console exits on running scripts by non-interactive pwsh or fsx, see samples.

See also

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.4 190 6/11/2024
2.0.3 219 3/26/2024
2.0.2 281 12/28/2023
2.0.1 182 12/21/2023
2.0.0 216 11/19/2023
1.0.2 347 10/18/2023
1.0.1 477 1/1/2023
1.0.0 362 11/18/2022
0.1.3 449 10/1/2022
0.1.2 420 8/19/2022
0.1.1 424 7/29/2022
0.1.0 411 7/28/2022
0.0.1 407 7/26/2022