Legend label - differential dot above letter with a subscript
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm trying to have one of my legend labels be "X_Piston" where X has the differential dot above it and 'Piston' is in Subscript format. I can get the differential dot but cannot seem to get the subscript. Any help is appreciated, thank you!!
name = legend('$\dot{X}$');
set(name,'Interpreter','latex');
0 commentaires
Réponse acceptée
infinity
le 29 Juil 2019
Hello,
How about this
name = legend('$\dot{X}_{Piston}$');
set(name,'Interpreter','latex');
6 commentaires
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!