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.
Ioannis Filippidis (2020). LaTeX Plot Annotation (https://www.mathworks.com/matlabcentral/fileexchange/35141-latex-plot-annotation), MATLAB Central File Exchange. Retrieved .