legendshrink

Shrinks the length of the legend lines.
1,9K Downloads
Aktualisiert 4. Sep 2015

Lizenz anzeigen

**Matlab no longer allows access to the elements within a legend, so this code will not work from Matlab circa-2014 onwards.**
legendshrink reduces the amount of horizontal space taken up by a figure legend by reducing the length of lines. (Best results when the legend box is off.)

This is important for small plots because the size of the lines is
constant irrespective of the physical size of the figure. Only works
for vertical legends, for now.

Zitieren als

Will Robertson (2024). legendshrink (https://www.mathworks.com/matlabcentral/fileexchange/24510-legendshrink), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2013b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Legend finden Sie in Help Center und MATLAB Answers
Tags Tags hinzufügen

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

Matlab no longer allows access to the elements within a legend, so this code will not work from Matlab circa-2014 onwards.