필터 지우기
필터 지우기

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

조회 수: 14 (최근 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!!! :)
Adam Danz
Adam Danz 2022년 8월 7일
편집: Adam Danz 2022년 8월 7일
Yes, these issues with gca are also explained in the tips section of the gca doc page.

댓글을 달려면 로그인하십시오.

추가 답변 (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