resize_legend

Changes LEGEND fontsize.

您现在正在关注此提交

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 (2026). resize_legend (https://ww2.mathworks.cn/matlabcentral/fileexchange/2190-resize_legend), MATLAB Central File Exchange. 检索时间: .

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

MATLAB 7 compatibility change