MATLAB: How to create an underline in text

graphlatexlegendunderline

Given ist following legend:
legend('Group 6 MHz \newline{\bff_1} \newline2f_2-f_3 \newlinef_2+f_3-f_4 ', ...
'\newlineGroup7.3 MHz \newline{\bff_2} \newline2f_3-f_4 \newlinef_1+f_3-f_2 \newlinef_1+f_4-f_3 ', ...
'\newlineGroup8.7 MHz \newline{\bff_3} \newline2f_2-f_1 \newlinef_2+f_4-f_3 \newlinef_1+f_4-f_2 ', ...
'\newlineGroup10 MHz \newline{\bff_4} \newline2f_3-f_2 \newlinef_2+f_3-f_1 ','location','northeastoutside')
A total of four graphs with corresponding sub-labels are to be shown here. I want the first line (Group 6 MHz, Group7.3 MHz …) to be underlined. Does somebody has any idea?
Many thanks!

Best Answer

legend(' $\underline{Mepe}$ ','interpreter','latex')