Use subscript and superscript in legend
77 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Yoni Verhaegen -WE-1718-
le 3 Oct 2020
Réponse apportée : Ameer Hamza
le 3 Oct 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 commentaires
Réponse acceptée
madhan ravi
le 3 Oct 2020
legend(['$\overline{H}_{subscript}^' ...
'{superscript}$'],...
'interpreter','latex')
0 commentaires
Plus de réponses (2)
Ameer Hamza
le 3 Oct 2020
plot(1:10);
legend('$\overline{H}_{debris}^{front}$', ...
'Interpreter', 'latex', ...
'FontSize', 16, ...
'location', 'best')
0 commentaires
Voir également
Catégories
En savoir plus sur Legend dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!