Git Product home page Git Product logo

scottplot's Introduction

ScottPlot

ScottPlot is a free and open-source interactive graphing library for .NET written in C#. In a GUI environment ScottPlot makes it easy to display data interactively (left-click-drag pan, right-click-drag zoom), and in non-GUI environments ScottPlot can be used to create graphs and save them as images. ScottPlot was designed to be fast enough to interactively display large datasets with millions of points at high framerates. ScottPlot is easy to integrate into .NET projects because it is available on NuGet and has no dependencies outside the .NET framework libraries.

Quickstart

  1. Install ScottPlot using NuGet
  2. Drag/Drop the ScottPlotUC (from the toolbox) onto your Form
  3. Add the following code to your startup sequence:
double[] xs = new double[] {1, 2, 3, 4, 5};
double[] ys = new double[] {1, 4, 9, 16, 25};
scottPlotUC1.plt.PlotScatter(xs, ys);
scottPlotUC1.Render();

Documentation

Compiled Demos

ScottPlot Demo

  • This demo demonstrates the display all major ScottPlot plot types. Notice that millions of data points can be displayed using a Signal plot at >100 Hz framerates and comfortably interacted with using the mouse.
  • Compiled demo: ScottPlotDemo.zip
  • Source code: /demos/ScottPlotDemo/

Animated Data

  • If you plot a double array with ScottPlot, later updating the original array automatically updates the data in ScottPlot. This simple demo plots an array then uses a timer to update it continuously. Note that the graph is still mouse-interactive (panning and zooming) while continuously updating.
  • Compiled demo: ScottPlotAnimatedSin.zip
  • Source code: /demos/ScottPlotAnimatedSin/

Audio Monitor

  • This demo uses two ScottPlot plots to display audio data in real time. The signal (PCM, top) and frequency (FFT, bottom) components are continuously updated at a high framerate and are both mouse-interactive. Audio processing is provided by the nAudio library.
  • Compiled demo: ScottPlotAudioMonitor.zip
  • Source code: /demos/ScottPlotAudioMonitor/

Previous Versions

ScottPlot has improved in performance and simplicity over time. Changes which resulted in a change to the API were compartmentalized into major release versions. It is recommended you use the latest version of ScottPlot for new projects, but all versions can be downloaded for backward-compatibility with existing projects. Each version has its own cookbook demonstrating how to use the API.

About ScottPlot

ScottPlot was created by Scott Harden of Harden Technologies, LLC. The author of this project may be available for the commissioned creation customized versions of this software which incorporate requested features. Inquiries may be sent to [email protected].

scottplot's People

Contributors

swharden avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.