derivative dot symbol in the legend of 2d plot
38 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Abhijit Sardar
le 26 Déc 2021
Commenté : Abhijit Sardar
le 26 Déc 2021
I want to include derivative of strain in the legend i.e. epsilon with a single dot on it's head how do i do so in the legend or if i want to put it in a text box in a 2 d plot
0 commentaires
Réponse acceptée
Simon Chan
le 26 Déc 2021
Somthing like the following?
x = 1:10;
y = 1:10;
plot(x,y);
legend('$\dot{\epsilon}$','Interpreter','latex','FontSize',16)
text(3,5,'$\dot{\epsilon}$','Interpreter','latex','FontSize',16)
3 commentaires
Walter Roberson
le 26 Déc 2021
When you use the property inspector, put
$\dot{\epsilon}$
in the String property.
You might also need to change the Interpreter property to 'latex'
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!