Hi all,
I am wondering how to implement text in a legend with both a superscript and a subscript, and with an horizontal bar, something like this:

 채택된 답변

madhan ravi
madhan ravi 2020년 10월 3일

0 개 추천

legend(['$\overline{H}_{subscript}^' ...
'{superscript}$'],...
'interpreter','latex')

추가 답변 (2개)

Ameer Hamza
Ameer Hamza 2020년 10월 3일

0 개 추천

plot(1:10);
legend('$\overline{H}_{debris}^{front}$', ...
'Interpreter', 'latex', ...
'FontSize', 16, ...
'location', 'best')

카테고리

도움말 센터File Exchange에서 Labels and Annotations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by