legend with delete buttons

Adds delete pushbuttons to existing legend

You are now following this Submission

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://uk.mathworks.com/matlabcentral/fileexchange/45827-legend-with-delete-buttons), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Removed need for function iswhole

1.1.0.0

Removed need for function iswhole

1.0.0.0