app.Image.ImageSource = data;
hold(uiaxes,'on')
plot....
the code is above, I want to add a plot in the image, but how to determine the "UIAxes" ?
for help
thank you

댓글 수: 1

Geoff Hayes
Geoff Hayes 2020년 4월 29일
lenwen - wouldn't you have added an uiaxes to your app and perhaps accessible via app.UiAxes?

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

답변 (1개)

Adam Danz
Adam Danz 2020년 4월 29일
편집: Adam Danz 2020년 5월 4일

0 개 추천

You have the right idea to specify an axis handle but it looks like you're not using the handle.
uiax = uiaxes(); % Create the UIAxes, store the handle.
hold(uiax, 'on') % specify the UIAxes
plot(uiax, x, y) % specify the UIAxes

카테고리

도움말 센터File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

질문:

2020년 4월 29일

편집:

2020년 5월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by