how to plot in UIAxes in app designer
64 ビュー (過去 30 日間)
古いコメントを表示
i have written codes for a plot in .m file now i wanna plot the same thing in a interface made by using appdesigner.
this is my plot

i want to plot it here

0 件のコメント
採用された回答
Ajay Kumar
2019 年 10 月 25 日
編集済み: Ajay Kumar
2019 年 10 月 25 日
You can give axes handle in the plot.
for example, if you used
plot(x,y);
now, use
plot(app.UIAxes,x,y);
and ofcourse, the testtesttest function should have the handles of app.
10 件のコメント
Deyan Prashna
2022 年 4 月 29 日
Based on the experience I've tried and succeeded, try typing this:
imshow(picture.jpg,'Parent',app.UIaxes)
For the picture format, it can be other than .jpg., and pay attention to the field name of the UI Axes used.
Hope it helps ^_^
Biraj Khanal
2022 年 6 月 9 日
How do you use fnplt for uiaxes?
plot(app.uiaxes,x,y) works but fnplt(app.uiaxes,cscvn(points)) does not. Does anyone have any suggestion?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File 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!