I need to create a two-line headline on a MATLAB chart using LaTeX in each of the lines.
title({'first line','second line'})
works, but not with LaTeX. In one line of the name MATLAB, LaTeX is understood as in the example:
title(['$y=x^2$'],'interpreter','latex')
I tried many things, but I was not able to get MATLAB to create a multi-line header with LaTeX in these lines.
source share