You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Features:
- 2D plots
- subplots
- histograms
- linear and logarithmic axes
- grids
- legends
- line styles and plot marks
- resulting pgf file can be used in LaTeX and pdfLaTeX
The current version is 0.3.9
Cite As
Paul Wagenaars (2026). Matfig2PGF (https://uk.mathworks.com/matlabcentral/fileexchange/12962-matfig2pgf), MATLAB Central File Exchange. Retrieved .
Acknowledgements
General Information
- Version 1.2.0.0 (26.2 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
