how to plot in UIAxes in app designer

309 views (last 30 days)
Ni2 on 25 Oct 2019
Commented: Biraj Khanal on 9 Jun 2022
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 plotCapture1.PNG
i want to plot it here

Accepted Answer

Ajay Kumar
Ajay Kumar on 25 Oct 2019
Edited: Ajay Kumar on 25 Oct 2019
You can give axes handle in the plot.
for example, if you used
now, use
and ofcourse, the testtesttest function should have the handles of app.
Biraj Khanal
Biraj Khanal on 9 Jun 2022
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?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by