legend with delete buttons

Adds delete pushbuttons to existing legend
290 Downloads
Updated Thu, 13 Mar 2014 20:32:14 +0000

View License

With one line, you can add delete pushbuttons to an existing legend to allow a user to delete lines on a plot. Optional input determines whether the legend shrinks down from the top (default) or up from the bottom.

Cite As

Kevin J. Delaney (2024). legend with delete buttons (https://www.mathworks.com/matlabcentral/fileexchange/45827-legend-with-delete-buttons), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Removed need for function iswhole

1.1.0.0

Removed need for function iswhole

1.0.0.0