ILNumerics.Toolboxes.Drawing2 7.1.9

Prefix Reserved
dotnet add package ILNumerics.Toolboxes.Drawing2 --version 7.1.9                
NuGet\Install-Package ILNumerics.Toolboxes.Drawing2 -Version 7.1.9                
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="7.1.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ILNumerics.Toolboxes.Drawing2 --version 7.1.9                
#r "nuget: ILNumerics.Toolboxes.Drawing2, 7.1.9"                
#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=7.1.9

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

ILNumerics Ultimate VS

This package is part of ILNumerics Ultimate VS - a powerful framework for technical application development on .NET.

General Info about ILNumerics: (specific info about this package are found at the end)

ILNumerics provides packages for the convenient authoring of:

Compatibility

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.

Performance

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.

ILNumerics.Toolboxes.Drawing2

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
          scene.Configure();
    
          // (offscreen) render the scene to a bitmap, using GDIDriver
          var gdi = new GDIDriver(1000, 1000, scene);
          gdi.Render();
          gdi.BackBuffer.Bitmap.Save("image.png");
      }
    
  • Hit F5 and find the result in your /bin/Debug/ folder: image.png

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

Documentation

Examples

ILNumerics example collection

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
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
ILN2Tikz

Export functionality for ILNumerics (http://ilnumerics.net/) 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.1.9 110 12/13/2024
7.0.245-rc03 83 10/11/2024
7.0.230-rc02 75 10/4/2024
7.0.223-rc01 90 9/28/2024
7.0.163 145 7/16/2024
7.0.121 179 4/5/2024
7.0.115 133 4/3/2024
7.0.104 134 3/30/2024
7.0.58-beta01 232 11/1/2022
7.0.54-beta01 151 11/1/2022
6.0.148 873 6/1/2022
6.0.127 807 1/7/2022
6.0.124 385 11/16/2021
6.0.120 390 10/28/2021
6.0.115 408 8/26/2021
6.0.111 446 8/24/2021
6.0.86 330 8/18/2021
6.0.78 348 8/15/2021
6.0.69-beta05 249 7/28/2021
6.0.68-beta04 213 7/21/2021
6.0.53-beta03 250 7/12/2021
6.0.48-beta02 315 7/11/2021 6.0.48-beta02 is deprecated because it is no longer maintained and has critical bugs.
6.0.43-beta01 353 7/7/2021 6.0.43-beta01 is deprecated because it is no longer maintained and has critical bugs.