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:

 Réponse acceptée

madhan ravi
madhan ravi le 3 Oct 2020
legend(['$\overline{H}_{subscript}^' ...
'{superscript}$'],...
'interpreter','latex')

Plus de réponses (2)

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

Catégories

En savoir plus sur Labels and Annotations dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by