필터 지우기
필터 지우기

Multiple figures, keep one in foreground

조회 수: 4 (최근 30일)
Hendrik
Hendrik 2014년 10월 21일
댓글: Hendrik 2014년 10월 21일
Hello,
I have a script in which 3 separate figures are used, while during the process it keeps adding information to the figures and with the pause command it is like an animation for figure(3). However, each time something is drawn on one of the other two figures, they briefly come to the foreground after something is drawn there. And then immediately something is drawn in figure(3) and it will wait there with the pause command. But I was wondering if it is possible to always keep figure(3) in the foreground, no matter what. So even if i draw something in figure(1) or figure(2) that figure(3) stays on top of everything.
Only way i could think off was to draw everything in figure(1) and (2) at the end of the script, but that would make the script much more chaotic.

채택된 답변

Orion
Orion 2014년 10월 21일
Hi,
you can make figure 1 and 2 invisible during the process, and make them appear only at the end
  댓글 수: 1
Hendrik
Hendrik 2014년 10월 21일
thank you, adding this line before each plotting command on (1) and (2) solved it
set(gcf,'visible','Off')

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by