Skip to content

dfinke/PowerShellScottPlot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell ScottPlot

Uses Polyglot Interactive Notebooks to demonstrate the capabilities of ScottPlot via PowerShell.

Check out the video

This walks through creating data visualizations with PowerShell and ScottPlot in the interactive notebook rendering visualizations inline.

ScottPlot

Is a free and open-source plotting library for .NET that makes it easy to interactively display large datasets.

Alt text

How to run

Summary

There are two helper PowerShell scripts.

  • ScottPlotHelper.ps1

    • Loads the ScottPlot.dll and psgraphNB.ps1
    • Has the Show-ScottPlotInNotebook function
      • Show-ScottPlotInNotebook $plt "$pwd\test.png"
      • Takes a ScottPlot plot, and name of the image file to generate
      • Generates the image file
      • Calls the Show-ImageInNotebook function from psgraphNB.ps1
      • Then removes the image file
  • PSGraphNB.ps1

    • Has the Show-ImageInNotebook function
      • Show-ImageInNotebook "$pwd\test.png"
      • Takes the name of the image file to display
      • Displays the image in the output cell of the notebook

What's in the notebook

A simple way to share Polyglot Notebooks

Check out the rendered notebook and charts here in nbviewer.

Here's some of what you can do

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published