How to get callback when axes get focus
Show older comments
I have multiple axes on the same figure and a set of uipushtool buttons on a figure toolbar. When the user clicks different axes I want the state of the buttons to reflect that appropriate for the active axes (ie like the built-in buttons do; legend, colorbar etc). I can't find a callback function for when the axes get focus. Does this exist, or is there an alternative way of updating ui controls linked to axes?
Answers (1)
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!