MATLAB Answers

App designer: empty figure appears when running GUI with axes plot.

40 views (last 30 days)
ARP
ARP on 4 Dec 2019
Answered: Adam Danz on 4 Dec 2019
Hi all,
I am trying to get used to the new App Designer.
I am having the issue that when running the App Designer with an axes plot (Axis_1), the code runs fine, but I get a seprate empty figure out of the GUI.
plot(app.Axis_1,ff,av_power(:,:),'k','LineWidth',2)
hold on
plot(app.Axis_1,ff,power(:,:),'r','LineWidth',1);
Any help much appreciated
Thanks
Picture1.jpg

  0 Comments

Sign in to comment.

Accepted Answer

Adam Danz
Adam Danz on 4 Dec 2019
Specify the axis handle
hold(app.Axis_1,'on')

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Products


Release

R2019b

Translated by