image thumbnail


version (315 Bytes) by Troy Bouman
This function sets the marker size of all legend makers in a figure


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 (2021). 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

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!