ILN2Tikz 1.11.0

.NET 6.0
dotnet add package ILN2Tikz --version 1.11.0
NuGet\Install-Package ILN2Tikz -Version 1.11.0
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="ILN2Tikz" Version="1.11.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ILN2Tikz --version 1.11.0
#r "nuget: ILN2Tikz, 1.11.0"
#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 ILN2Tikz as a Cake Addin
#addin nuget:?package=ILN2Tikz&version=1.11.0

// Install ILN2Tikz as a Cake Tool
#tool nuget:?package=ILN2Tikz&version=1.11.0

ILN2Tikz Export

Export functionality for ILNumerics ( scene graphs and plot cubes to TikZ/PGFPlots (LaTeX graphics package, see Wikipedia).

How to use

Export scene to string:

var tikzString = ILN2TikzExport.ExportString(scene);

or export scene to file (usually *.tikz):

ILN2TikzExport.ExportFile(scene, filePath);

Both variants take an optional argument Size canvasSize (defaults to 120x100 mm^2), for example:

ILN2TikzExport.ExportFile(scene, filePath, new Size(mmWidth, mmHeight));

As of today (Jan 2023) the following plot types are supported: LinePlot, ErrorBarPlot (y-error only), Surface, FastSurface.


ILN2Tikz is licensed under the terms of the MIT license (, see LICENSE.txt).

Product Versions
.NET 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
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 ILN2Tikz:

Package Downloads

Support for ILNumerics ( in .NET Interactive

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.11.0 129 2/4/2023
1.10.0 118 2/3/2023
1.8.0 320 5/16/2022
1.7.0 217 12/1/2021
1.6.0 237 9/14/2021
1.5.5 213 8/26/2021
1.5.4 222 8/19/2021