I need to create a two-line title in a MATLAB plot, using LaTeX in each of the lines.
title({'first line','second line'})
works, but not with LaTeX. In a single line MATLAB title, LaTeX is understood as in the example:
title(['$y=x^2$'],'interpreter','latex')
I have tried many things, but I haven't managed to have MATLAB produced a multi-line title with LaTeX in those lines.