resize_legend

版本 1.0.0.0 (2.4 KB) 作者: Denis Gilbert
Changes LEGEND fontsize.
4.2K 次下载
更新时间 2004/9/28

查看许可证

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 CenterMATLAB 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