How to change gap between legend line and legend text?
72 ビュー (過去 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 件のコメント
参考
カテゴリ
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!