Clear Filters
Clear Filters

how include e1 dot in legend ?

1 view (last 30 days)
how to include e1 dot in legend and how reduse the values in y axis?

Accepted Answer

Walter Roberson
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
prajith samraj
prajith samraj on 25 Jul 2022
shown single value 0.1 shown only. how to find remaining datas?
Walter Roberson
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?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!