How do I use the ButtownDownFcn callback in the new AppDesigner?

3 views (last 30 days)
How do I use the buttondownfcn on UIAxes in the new 2017a Matlab? I know the functionality is there.
I'm plotting a contour and I want to access the points where the user clicks.

Answers (1)

George A.
George A. on 29 Jun 2018
There is no ButtonDownFcn function for UIAxes. There is for Axes but not for UIAxes.
I don't understand why. Can someone from mathworks explain or give a workaround?

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!