How to disable automaticlly showing new plot

조회 수: 2(최근 30일)
Zdrapko
Zdrapko 2014년 10월 17일
답변: Sean de Wolski 2014년 10월 17일
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:

Community Treasure Hunt

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

Start Hunting!

Translated by