how include e1 dot in legend ?
7 次查看(过去 30 天)
显示 更早的评论
how to include e1 dot in legend and how reduse the values in y axis?
0 个评论
采纳的回答
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 个评论
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 Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!