FarNet.ScottPlot
2.0.1
Prefix Reserved
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
<PackageReference Include="FarNet.ScottPlot" Version="2.0.1" />
paket add FarNet.ScottPlot --version 2.0.1
#r "nuget: FarNet.ScottPlot, 2.0.1"
// 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
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.