Changes LEGEND fontsize while maintaining proper alignment between the legend's text strings and line symbols.
Example: Double the fontsize
hLeg = legend(h,'string1','string2',...);
resize_legend(hLeg, 2);
See graphics snapshot below for a DEMO.
인용 양식
Denis Gilbert (2024). resize_legend (https://www.mathworks.com/matlabcentral/fileexchange/2190-resize_legend), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R11.1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Legend에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 | MATLAB 7 compatibility change |