You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
Denis Gilbert (2026). resize_legend (https://au.mathworks.com/matlabcentral/fileexchange/2190-resize_legend), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (2.37 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | MATLAB 7 compatibility change |
