Code covered by the BSD License  

Highlights from
legendshrink

5.0

5.0 | 1 rating Rate this file 6 Downloads (last 30 days) File Size: 3.48 KB File ID: #24510

legendshrink

by Will Robertson

 

22 Jun 2009

Shrinks the length of the legend lines.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
16 Dec 2009 Ross

Excellent little script. Did exactly what I needed it to do for a small figure.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
plot Will Robertson 22 Jun 2009 12:24:27
legend Will Robertson 22 Jun 2009 12:24:27

Contact us at files@mathworks.com