This function creates a legend in which the entries are arranged in a grid or table.
If you are plotting a large number of results, a regular legend can be overwhelming. Many times, however, the results can be logically arranged in a grid or table. This function creates a grid legend, which can take up less space than a regular legend and can be easier for the reader to understand. This function accepts many of the same name-value pair inputs as the built-in legend function to give the user control over the location and appearance of the grid legend.
An example function is also included to demonstrate some of the features of grid legend.
Shane L (2021). GridLegend (https://www.mathworks.com/matlabcentral/fileexchange/66464-gridlegend), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!