fig2texPS - Export Matlab Figure to LaTeX
by Peter Scholz
14 Sep 2009
(Updated 03 Nov 2010)
V053 - Conversion of a Matlab figure to a LaTeX file with PSTricks compatible macros
|
Watch this File
|
| File Information |
| Description |
The aim of this function is to create a tex-code picture of a Matlab figure in PSTricks syntax. The tex-file picture can still be adapted after creation and may be either a standalone tex-file or a file to be included in a larger document. The LaTeX packages pstricks, pst-node, pst-plot, pst-circ and moredefs are required. An minimal example latex code is generated at each time this script is run. The matlab code is based on the fig2tex file by Ercan Solak in 2005.
You can also download the latest version on
http://fig2texps.peter-scholz.net
Supported Features:
* 2D plots with arbitrary number of lines and patches
* Linear and logarithmic axes and second y-axis
* Grids, subgrids, ticks and subticks
* Arbitrary colors, linestyles and markers
* Labels, title, legend and colorbar
* Annotations (TextArrows) are supported
* GUI, where the fontsize, the plotsize and the export file can be set
* Lines with many datapoints can be compressed in order to reduce file size and compilation time (copied from Matfig2PGF by Paul Wagenaars in 2008)
* Convergence Triangles can be shown for logarithmic plots
* Support of additional code in PSTricks syntax
* Standalone Option for creating high quality cropped pdf-files |
| Acknowledgements |
Fig2tex and Matfig2 Pgf
inspired this file.
|
| MATLAB release |
MATLAB 7.10 (R2010a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 15 Sep 2009 |
Warning, if the 'DefaultFigureWindowStyle' is 'docked' |
| 10 Dec 2009 |
Changes to Version 0.42:
* More possible locations for the legends
* Linewidths of the global struct can now also be strings
* Linestyles adapted
* Enhancements for TextArrows
* Questiondialog, if the tex file already exists
* Small bugfixes |
| 11 Dec 2009 |
Link updated: http://fig2texps.peter-scholz.net |
| 05 May 2010 |
Enhanced Features implemented |
| 05 May 2010 |
New features implemented |
| 03 Nov 2010 |
Changes:
* dataplot -> psline replaced, option linejoin=1 introduced
* marker more bold
* enhancement for patches which are cut at the axes limits
* Colorbar enhancement
* Support of TextBoxes
* Small bugfixes |
|
Contact us