how include e1 dot in legend ?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
prajith samraj
le 25 Juil 2022
Commenté : Walter Roberson
le 25 Juil 2022
how to include e1 dot in legend and how reduse the values in y axis?
0 commentaires
Réponse acceptée
Walter Roberson
le 25 Juil 2022
plot(rand(1,5))
legend({'$\dot{e_1}$'}, 'interpreter', 'latex')
To reduce the values on the y axes, you could use ytickformat . However, you have such a small range of values that they would likely all come out the same. You could consider setting yticks() to only have perhaps 3 ticks (but they will all be pretty similar)
2 commentaires
Walter Roberson
le 25 Juil 2022
According to your first plot, your range of y values is from about 0.1 minus 1e-14 to about 0.1 plus 1e-14. What tick marks were you hoping for?
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!