Updated Fri, 22 May 2009 05:04:54 +0000
Matfig2PGF is script that allows users to convert MATLAB figures to PGF <http://sourceforge.net/projects/pgf/>. PGF figures can be included in a LaTeX document using the PGF macro package. The PGF package works with most important LaTeX backends (such as pdfTeX and Dvips). Using Matfig2PGF all text in the figure is typeset by LaTeX, so it blends in nicely with the rest of the document.
- 2D plots
- linear and logarithmic axes
- line styles and plot marks
- resulting pgf file can be used in LaTeX and pdfLaTeX
The current version is 0.3.9
Paul Wagenaars (2023). Matfig2PGF (https://www.mathworks.com/matlabcentral/fileexchange/12962-matfig2pgf), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: matlab2tikz/matlab2tikz, fig2texPS - Export Matlab Figure to LaTeX
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.