Use subscript and superscript in legend
Ältere Kommentare anzeigen
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:

Akzeptierte Antwort
Weitere Antworten (2)
Mario Malic
am 3 Okt. 2020
1 Stimme
See legend properties
Under Labels - Interpreter
Ameer Hamza
am 3 Okt. 2020
plot(1:10);
legend('$\overline{H}_{debris}^{front}$', ...
'Interpreter', 'latex', ...
'FontSize', 16, ...
'location', 'best')
Kategorien
Mehr zu Legend finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!