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.
Zitieren als
Denis Gilbert (2024). resize_legend (https://www.mathworks.com/matlabcentral/fileexchange/2190-resize_legend), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R11.1
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Legend finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | MATLAB 7 compatibility change |