About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • Last update: 5 years ago
  • Total downloads: 144
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Nico SchlГ¶mer
See full specifications

scripts default iconmatlab2tikz (Scripts) Publisher's description

As of now, matlab2tikz does not support the conversion of all possible MATLAB figures.

As of now, matlab2tikz does not support the conversion of all possible MATLAB figures. Most notably, only a few simple 3D plots are supported.
More support will likely be included in one of the next versions.

If you have a nice 2D plot, matlab2tikz might just do what you need. Disregarding text annotations, matlab2tikz supports a superset of plots compared to its ancestor matfig2pgf.

Among the supported features are:
* most axes properties (including logarithmic scaling),
* grids,
* line plots (including markers line styles),
* contour(f) plots,
* bar plots (stacked, grouped, histograms),
* stem plots,
* stairs plots,
* quiver (arrow) plots,
* colorbars,
* legends,
* images,
* subplots,
* zplane plots,
* frequency response plots,
* scatter plots,
* surf plots.

The workflow is as follows.

1. Place the matlab2tikz script in a directory where MATLAB can find it.
(the current directory, for example).
2. Generate your plot in MATLAB.
3. Invoke matlab2tikz by
>> matlab2tikz( 'myfile.tikz' );

The resulting file can be included into any LaTeX document (by input{myfile.tikz}). Don't forget to add


and optionally (as of Pgfplots 1.3)

pgfplotsset{plot coordinates/math parser=false}

to the preamble of your LaTeX document.

To specify the dimension of the plot from within the LaTeX document, try

>> matlab2tikz( 'myfile.tikz', 'height', 'figureheight', 'width', 'figurewidth' );

and in the LaTeX source


If you would like to see more information, follow the development, submit a bug, or contribute in any other way, please visit matlab2tikz' web page at http://github.com/nicki/matlab2tikz .

There's also a matlab2tikz forum at http://win.ua.ac.be/~nschloe/forum/12/.

System Requirements:

MATLAB 7.12 (2011a)
Program Release Status: Major Update
Program Install Support: Install and Uninstall

Is matlab2tikz (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.