Put overbar and subscript multiple times
18 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Shipra Jain
le 7 Oct 2019
Commenté : Walter Roberson
le 7 Oct 2019
I have the following legend:
legend('4C_{ACTIVE} - PI_{ACTIVE}','4C_{FIXED} - PI_{FIXED}');
I want to put overbar over the letters PI (not on the subscipt or anywhere else). Can someone suggest how to do this?
Thanks in advance.
0 commentaires
Réponse acceptée
Walter Roberson
le 7 Oct 2019
h = legend('$4C_{ACTIVE} - \overline{PI}_{ACTIVE}$','$4C_{FIXED} - \overline{PI}_{FIXED}$');
h.Interpreter = 'latex';
2 commentaires
Walter Roberson
le 7 Oct 2019
Perhaps
h = legend('$\bf{4C_{ACTIVE} - \overline{PI}_{ACTIVE}}$','$\bf{4C_{FIXED} - \overline{PI}_{FIXED}}$')
Plus de réponses (0)
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!