GridLegend

版本 1.0.2.0 (8.0 KB) 作者: Shane L
Creates a legend in which the entries are arranged in a grid
973.0 次下载
更新时间 2022/9/23

查看许可证

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, 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 (2024). GridLegend (https://www.mathworks.com/matlabcentral/fileexchange/66464-gridlegend), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Legend 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.2.0

Corrected issue with multiple subplots by turning off handle visibility of the gridlegend; added option to input custom line length (item size); added option to print multi-line row and column labels

1.0.1.0

Added a variable to independently set the heights of the column headers row and the rest of the rows in the grid. This way, if there are subscripts or superscripts in the column headers, the remainder of the rows are not too widely spaced.

1.0.0.0