how include e1 dot in legend ?

7 次查看(过去 30 天)
how to include e1 dot in legend and how reduse the values in y axis?

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by