Legend Toggle

Toggle visibility of graphics objects by clicking on legend. Allows for custom callback function.
304 téléchargements
Mise à jour 24 août 2012

Afficher la licence

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.

Citation pour cette source

Matt Kindig (2024). Legend Toggle (https://www.mathworks.com/matlabcentral/fileexchange/37901-legend-toggle), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2010a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0