🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

ScottPlot

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ScottPlot

ScottPlot is a free and open-source plotting library for .NET. This package can be used to create static plots, and user controls for displaying plots interactively are available as separate NuGet packages.

5.0.55
NuGet
Version published
Maintainers
2
Created
Source

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

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.

Keywords

plot

FAQs

Package last updated on 22 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts