This functions goes to extreme lengths to create a shortened legend, e.g. a legend with shorter lines segments then the standard legend. It is intended to be used before saving a figure. Any changes to the axes after the resized legend is created may result in strange behavior.
David J. Mack (2022). resizeLegend(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/58914-resizelegend-varargin), 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!