how include e1 dot in legend ?
7 views (last 30 days)
Show older comments
prajith samraj
on 25 Jul 2022
Commented: Walter Roberson
on 25 Jul 2022
how to include e1 dot in legend and how reduse the values in y axis?
0 Comments
Accepted Answer
Walter Roberson
on 25 Jul 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 Comments
Walter Roberson
on 25 Jul 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?
More Answers (0)
See Also
Categories
Find more on Legend in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!