App designer opening new figure

16 ビュー (過去 30 日間)
Gonçalo Torres
Gonçalo Torres 2020 年 3 月 30 日
コメント済み: Jonas Bauer 2020 年 10 月 23 日
Hi all.
I am currently developing a GUI with App Designer
I want to plot some data in an exsiting axes of my app. I am using the following code for that:
if app.Settings.Odds.PlotVal
app.GUI.Market {iM} .pVal = plot (app.GUI.Market {iM} .Axes, newTime, Val (1,1));
backName = 'Back' ;
end
The data are plotted in the axes I want, but at the same time, a new blank figure pops-up, and I have to close it everytime.
Am I doing anything wrong?
Thanks
Gonçalo

採用された回答

Thi Ng
Thi Ng 2020 年 4 月 22 日
Hi Gonçalo,
Check the rest of your script if it contains any label, legend, title, etc. info, which you forgot to delete. Any of those will trigger an empty plot to open.
Best,
Thi
  2 件のコメント
Gonçalo Torres
Gonçalo Torres 2020 年 4 月 27 日
The problem was a "hold on" that I forgot to remove.
Thanks for the answer
Jonas Bauer
Jonas Bauer 2020 年 10 月 23 日
Same for me. Just check for
hold on

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by