Code covered by the BSD License  

Highlights from
Legend Toggle

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 3.37 KB File ID: #37901

Legend Toggle

by Matt Kindig

 

24 Aug 2012

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

| Watch this File

File Information
Description

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.

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File  
Everyone's Tags
gui, handle visibility, legend, line visibility
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Contact us