Nplot Examples

Nplot Examples Rating: 5,8/10 6825 votes
  1. Plot Examples In Disney Movies
  2. Plot Examples Comic Strip

NPlot is a free charting library for .NET developed by Matt Howlett and others. It can be used to render graphs as Bitmaps (suitable for use in console applications) and it has a mouse-interactive user control for Windows Forms. While NPlot is simple, it lacks many features, targets .NET Framework 4.0, and has not been actively developed for many years.

Example using multiple y axes, dashed line plot, histogram plot, custom ticks a live web example can be viewed here If you have used nplot to generate a nice looking plot, get them ready - the examples page will soon allow user uploads! Difference equation or maps The example is the delayed logistic map x n+1 = a x n-1 (1-x n). This is a second order map and XPP can only solve first order equations. We write it as a pair of first order equations. Examples Unfortunately, a detailed C# or VB.NET example of NPlot usage is out of the scope of this short article. Instead, refer to the NPlot website or the demo provided with the distribution. Figure 2 provides some examples of the types of output achievable using NPlot. NVD3 sample(nPlot). GitHub Gist: instantly share code, notes, and snippets.

Code

  • Get the NPlot package using NuGet
  • Drag a PlotSurface2D from the toolbox onto your form

Sample Data

This code generates random data we can practice plotting

Interactive Line Plot

Nplot Examples

I found I could display lines of 10,000 points, but by 100,000 points the program became very sluggish.

Console Application Support

Users who aren't using Windows Forms (or the PlotSurface2D user control) can render directly on Bitmap objects using the Bitmap.PlotSurface2D class. This allows NPlot to be used in console applications (or in server applications such as ASP.NET)

WPF Support

Plot Examples In Disney Movies

NPlot is designed for Windows Forms, but the author noted it can be used in WPF applications too. This seems to be accomplished by rendering plots to Bitmap objects and displaying them in WPF. WChart is a modified version of NPlot designed for WPF, but it hasn't been updated since 2015.

Resources

  • NPlot WIKI (inactive since 2014)
  • NPlot on GitHub (inactive since 2016)
  • NPlot on NuGet (inactive since 2016) has a permissive 3-clause-BSD license
  • Creating Graphs and Plot Charts Quickly with NPlot (O'Reilly)

Plot Examples Comic Strip

Source Code

Comments are closed.