How to disable automaticlly showing new plot

4 次查看(过去 30 天)
Hi all. I have a program with GUI where i 've an axes object. I am ploting there a data from dsp.AudioRecorder every 1 minute. All the time Matlab is taking me to the GUI window after every plot. It's annoying when i am using console or editor at the same time. How can i disable it?

回答(2 个)

Andrew Reibold
Andrew Reibold 2014-10-17
I think it will not bring it to the foreground if you set the figure visibility to 'off'. However, then you can't see it until you turn it back on. So you could maybe turn it off while its running, do your work, then turn it back on later when its done and you want to see it.

Sean de Wolski
Sean de Wolski 2014-10-17
Rather than plotting a new on each iteration, update the "XData" and "YData" of the already existing plot:

类别

Help CenterFile Exchange 中查找有关 Graphics Objects 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by