How to change gap between legend line and legend text?
조회 수: 16 (최근 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!