Plot2LaTeX

Exports a figure as a pdf file in vector format for inclusion into LaTeX.

You are now following this Submission

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 (2026). Plot2LaTeX (https://www.mathworks.com/matlabcentral/fileexchange/52700-plot2latex), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: LaPrint, matlabfrag

Categories

Find more on Printing and Saving in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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