ILNumerics.Toolboxes.Drawing2 6.0.148

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Standard 2.1 .NET Framework 4.6.1
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package ILNumerics.Toolboxes.Drawing2 --version 6.0.148
NuGet\Install-Package ILNumerics.Toolboxes.Drawing2 -Version 6.0.148
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ILNumerics.Toolboxes.Drawing2" Version="6.0.148" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ILNumerics.Toolboxes.Drawing2 --version 6.0.148
#r "nuget: ILNumerics.Toolboxes.Drawing2, 6.0.148"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ILNumerics.Toolboxes.Drawing2 as a Cake Addin
#addin nuget:?package=ILNumerics.Toolboxes.Drawing2&version=6.0.148

// Install ILNumerics.Toolboxes.Drawing2 as a Cake Tool
#tool nuget:?package=ILNumerics.Toolboxes.Drawing2&version=6.0.148

ILNumerics Ultimate VS

This package is part of ILNumerics Ultimate VS - a powerful framework for technical application development on .NET. ILNumerics provides packages for the convenient authoring of:


ILNumerics is compatible with all .NET runtimes since .NET Framework 4.6.1., including .NET Core, .NET 5.0, .NET 6.0.

We've invested great effort to translate and keep up to date the quasi standard algorithms for all computational routines, including linear algebra, FFT and optimization methods. These purely managed implementations are the first to bring professional robustness and precision to .NET. Hence, ILNumerics runs efficiently on any platform supported by .NET! Optionally, native libraries can be used to replace the managed default implementation. For the Windows platform, such native, optimized libraries are provided, too.


ILNumerics apps are typically much faster than alternatives: faster to implement and faster during execution. With ILNumerics the size of your data is not limited by the managed heap. ILNumerics n-dimensional Array<T> bridges the gap from high-level mathematical expressions down to native memory robustly, efficiently, and transparently. It allows to connect your data to any 3rd party without hassle. Further, it is able to host your data on any computational resource found, including CPUs and GPUs - key for heterogeneous, parallel computing.


This package implements extensions to the Visualization Engine. It adds more plot types, faster surfaces and more high-level features (as smooth surfaces) to your visualizations. The types in this modules can be used for general visualizations and plots as well as for interactive apps, based on Windows.Forms and ILNumerics.Drawing.Platforms.

General Preparation

Quick Start (Visualization Engine)

  • reference the Drawing2 package in your project.

  • start with a new console application (C#)

  • include the following code into your Program.Main() method (C#). It creates random data, a new scene, use the data to add a new FillArea plot and renders the plot to a bitmap image (offscreen rendering).

      static void Main(string[] args) {
          // create a new scene, with a bar plot of random data 
          var scene = new Scene();
          // create some data
          Array<double> A = arange<double>(1, 10).T.Concat(rand(1, 10), 0);
          // create a fill area plot
          var plot = new FillArea(A, fillColor: System.Drawing.Color.LightGray); 
          // add the plot to the scene 
          scene.Add(new PlotCube(twoDMode: false) { plot });
          // add-on: access the line inside the plot and configure its width.
          // Lines in ILNumerics.Drawing are mostly Lines objects - capable for rendering many lines efficiently.
          var lineplot = plot.First<Lines>();
          lineplot.Width = 3;
          lineplot.DashStyle = DashStyle.Dotted; 
          // signal that your scene is ready for rendering
          // (offscreen) render the scene to a bitmap, using GDIDriver
          var gdi = new GDIDriver(1000, 1000, scene);
  • Hit F5 and find the result in your /bin/Debug/ folder: image.png

  • Read the beginners guide and start implementing your own scenes!



ILNumerics example collection

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ILNumerics.Toolboxes.Drawing2:

Package Downloads

Export functionality for ILNumerics ( scene graphs and plot cubes to Tikz/PGFPlots (LaTeX graphics package)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.58-beta01 80 11/1/2022
7.0.54-beta01 60 11/1/2022
6.0.148 436 6/1/2022
6.0.127 680 1/7/2022
6.0.124 276 11/16/2021
6.0.120 295 10/28/2021
6.0.115 274 8/26/2021
6.0.111 280 8/24/2021
6.0.86 225 8/18/2021
6.0.78 250 8/15/2021
6.0.69-beta05 152 7/28/2021
6.0.68-beta04 165 7/21/2021
6.0.53-beta03 192 7/12/2021
6.0.48-beta02 254 7/11/2021
6.0.43-beta01 274 7/7/2021