gridLegend - a multi column format for legends
Plot a multicolumn format legend.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Adrian Cherry (2026). gridLegend - a multi column format for legends (https://se.mathworks.com/matlabcentral/fileexchange/29248-gridlegend-a-multi-column-format-for-legends), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: clickableLegend - Interactive highlighting of data in figures, simonhenin/columnlegend
Inspired: axlegend
General Information
- Version 1.4.0 (6.11 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.4.0 | Corrected North positioning |
||
| 1.3.0 | Should now work with subplots - demo updated to display this. Also corrected a problem of blank columns if a large number of columns requested and only a few lines per column. |
||
| 1.2.0 | The function should now be compatible with the new graphics system, i.e. R2014b or newer. I have tried to ensure it is still backward compatible with the earlier versions. |
||
| 1.1.0 | Updated to work with errorbar chart legends. Also fixed an edge case where there is only one trace per column. It didn't like it if you had 5 traces and asked for 5 columns, it placed all the keys and labels in the first column. |
||
| 1.0.0 |