Plot2LaTeX

Exports a figure as a pdf file in vector format for inclusion into LaTeX.
4.8K Downloads
Updated 20 Apr 2016

View License

PLOT2LATEX saves a Matlab figure as a pdf file in vector format for inclusion into LaTeX. Requires free and open-source vector graphics editor Inkscape. It invokes Inkscape to save the text, labels, legends, titles, etc. to be incorporated into LaTeX. This allows a true LaTeX font and scripts.
Use of the 'PDFLatex' output profile does not directly support psfrag (and therefore laprint or matlabfrag). Plot2LaTex uses the features of Inkscape to export vector image to pdf with supporting pdf_tex file for text placement. Plot2LaTeX supports transparency.
Plot2LaTeX requires Matlab version 2014b or higher.
Plot2Latex requires Inkscape.

Cite As

Jan de Jong (2024). Plot2LaTeX (https://www.mathworks.com/matlabcentral/fileexchange/52700-plot2latex), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Printing and Saving in Help Center and MATLAB Answers
Acknowledgements

Inspired by: LaPrint, matlabfrag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

- Made compatible for Unix systems
- Added a waitbar
- Corrected the help file
- Fixed file names with spaces in the name. (Not advised to use in latex though)
- Escape special characters in XML (<,>,',",&) -> (&lt;,&gt;,&apos;,&quot;,&amp;)

1.0.0.0

Changed logo
Added Logo