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

18 次查看(过去 30 天)
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?

采纳的回答

Walter Roberson
Walter Roberson 2022-8-7
编辑:dpb 2022-8-7
  4 个评论
dpb
dpb 2022-8-7
Aren't there still issues w/o an addressable target to ginput when there are multiple axes, UIAxes or not, when want/need to programmatically set with which the user is to interact?
There's a long discussion in the thread linked to in which it appears valid use cases are presented -- I didn't take the time to study those in excruciating detail so may have come to wrong conclusion, but seems like the target to address can still be an issue, visible or not.
Now that you're on board, I'm sure all these nits will be fixed sometime next week!!! :)

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Visual Exploration 的更多信息

标签

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by