Legend Toggle

Toggle visibility of graphics objects by clicking on legend. Allows for custom callback function.

Sie verfolgen jetzt diese Einreichung

This function allows you to toggle the visibility of line/patch/surface objects, by clicking on the corresponding entry in the legend.

Function outputs a logical vector corresponding to the visibility of each handle object.

A custom callback can be specified to run after each object is toggled.

Currently, only supports line, patch, and surface objects. All objects must be parented to same axes.

Zitieren als

Matt Kindig (2026). Legend Toggle (https://de.mathworks.com/matlabcentral/fileexchange/37901-legend-toggle), MATLAB Central File Exchange. Abgerufen .

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0