app designer UIAxes plot

조회 수: 3 (최근 30일)
lenwen lin
lenwen lin 2020년 4월 29일
편집: Adam Danz 2020년 5월 4일
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일
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

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by