legend with delete buttons
Version 1.2.0.0 (23.4 KB) by
Kevin J. Delaney
Adds delete pushbuttons to existing legend
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 (2026). 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 LinuxCategories
Find more on Legend in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
