Legend Toggle
Versión 1.0.0.0 (3,37 KB) por
Matt Kindig
Toggle visibility of graphics objects by clicking on legend. Allows for custom callback function.
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.
Citar como
Matt Kindig (2024). Legend Toggle (https://www.mathworks.com/matlabcentral/fileexchange/37901-legend-toggle), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2010a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Graphics > Formatting and Annotation > Labels and Annotations > Legend >
- MATLAB > Graphics > Graphics Objects > Graphics Object Properties >
Más información sobre Legend en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |