How to obtain coordinate using 'ginput' in the UIaxis when coding in Appdesigner

7 views (last 30 days)
When assigning the item in the Appdesigner, for example,
[x,y]=ginput(app.UIaxis,2);
it reminds the extra parameters. So how to obtain the coor of the plot using mouse interaction in the uiaxis? Any suggestion?

Accepted Answer

Walter Roberson
Walter Roberson on 7 Aug 2022
Edited: dpb on 7 Aug 2022
  4 Comments
Adam Danz
Adam Danz on 7 Aug 2022
Edited: Adam Danz on 7 Aug 2022
Yes, these issues with gca are also explained in the tips section of the gca doc page.

Sign in to comment.

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!