legendflex: a more flexible legend
by Kelly Kearney
18 Apr 2011
(Updated 11 Apr 2013)
Create a legend with more flexible positioning and labeling capabilities
|
Watch this File
|
| File Information |
| Description |
With legendflex, you can:
- position the legend relative to any object in any figure, not just the parent axis of whatever is being labeled
- organize legend text and symbols in a grid with a specified number of rows and/or columns
- rescale the horizontal space used by each legend symbol
- create multiple legends for the same axis
- add a title to the legend within the legend box |
| Acknowledgements |
Setpos 1.2 Getpos 1.2
inspired this file.
|
| MATLAB release |
MATLAB 7.10 (R2010a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 20 Apr 2011 |
Figure resize now re-links legend and labeled objects with updated line/patch properties. |
| 16 Jun 2011 |
bug fixes: fixed error in function resize if you delete the legend, fixed minor vertical alignment issue |
| 24 Jun 2011 |
Fixed bug where very wide titles were not completely enclosed in legend box. |
| 11 Apr 2013 |
Now respects manual changes made by user (including legend height, width, and units) when resizing. |
|
Contact us