Use subscript and superscript in legend
74 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Yoni Verhaegen -WE-1718-
il 3 Ott 2020
Risposto: Ameer Hamza
il 3 Ott 2020
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:

0 Commenti
Risposta accettata
madhan ravi
il 3 Ott 2020
legend(['$\overline{H}_{subscript}^' ...
'{superscript}$'],...
'interpreter','latex')
0 Commenti
Più risposte (2)
Ameer Hamza
il 3 Ott 2020
plot(1:10);
legend('$\overline{H}_{debris}^{front}$', ...
'Interpreter', 'latex', ...
'FontSize', 16, ...
'location', 'best')
0 Commenti
Vedere anche
Categorie
Scopri di più su Legend in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!