How to change gap between legend line and legend text?
26 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Thorsten
2016-10-26
You can increase the space by adding blanks ' ' in front of the legend entries. This is a hack, of course.
0 个评论
更多回答(2 个)
Rani V.S
2016-10-26
编辑:Rani V.S
2016-10-26
https://in.mathworks.com/help/matlab/ref/legend-properties.html Hope that this documentation will help you
selcuk
2020-6-28
Horizontal space commands in latex can be used:
leg1 = legend('$\bar{x}\>$','$\tilde{x}\quad$','$\hat{x}\hspace{5mm}$');
set(leg1,'Interpreter','latex');
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!