image thumbnail

axlegend

version 1.0.0.0 (4.85 KB) by This User
Create a bottom-centered legend and realign graph axes.

664 Downloads

Updated 03 Jun 2013

View License

Do you need to place a legend in the bottom centre of your figure? It may happen that a southoutside-located LEGEND will overlap with your graph axes. To overcome that I use AXLEGEND.

The enhancement can be applied to figures with a single plot or with a set of subplots. Consult the hlp part and the demo example.

The current version will be updated further (varargin, column-legend). Hope this inspires more custom legend functions.

Cite As

This User (2022). axlegend (https://www.mathworks.com/matlabcentral/fileexchange/42072-axlegend), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: gridLegend - a multi column format for legends

Community Treasure Hunt

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

Start Hunting!