Use subscript and superscript in legend
Mostrar comentarios más antiguos
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:

Respuesta aceptada
Más respuestas (2)
Mario Malic
el 3 de Oct. de 2020
1 voto
See legend properties
Under Labels - Interpreter
Ameer Hamza
el 3 de Oct. de 2020
plot(1:10);
legend('$\overline{H}_{debris}^{front}$', ...
'Interpreter', 'latex', ...
'FontSize', 16, ...
'location', 'best')
Categorías
Más información sobre Legend en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!