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 |