setLegMarkSize(lege​ndSizeDesired)

Version 1.0.0.0 (315 Bytes) by Troy Bouman
This function sets the marker size of all legend makers in a figure
174 Downloads
Updated 14 Sep 2015

View License

I had a hard time figuring out how to adjust the marker (icon) size in a Figure in the newest versions of MATLAB. This functions does that. Just call the function after the legend command and give it the size you want the markers.

Cite As

Troy Bouman (2024). setLegMarkSize(legendSizeDesired) (https://www.mathworks.com/matlabcentral/fileexchange/53006-setlegmarksize-legendsizedesired), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Acknowledgements

Inspired by: Adjust legend marker size

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0