LaTeX Plot Annotation

Annotate labels, title and legend using LaTeX strings.

You are now following this Submission

A single command to set the xlabel, ylabel, zlabel, title and legend strings, all at once. Moreover, it accepts LaTeX and TeX strings, so that equations and other symbols can be easily placed in the figure.

Using this function, it is not necessary to export the graphics object specifically for LaTeX (e.g. using Laprint, Matfig2PGF, or any of the other converters available in File Exchange).

The font will match with the LaTeX document (if in Computer Modern) and the size will always be proportional to the figure if scaled in the document, to avoid inconsistencies between annotation and graphics.

Cite As

Ioannis Filippidis (2026). LaTeX Plot Annotation (https://www.mathworks.com/matlabcentral/fileexchange/35141-latex-plot-annotation), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0