Is it possible to plot images without them disturbing other work
조회 수: 1 (최근 30일)
이전 댓글 표시
I am running a script which plots out images. I want to work on something else while this is taking place, however the images are produced every couple of minutes and interrupt my other work by always opening on top. This means that anything I'm typing is half in my document and half on the command line. Is there a way of having the images plot not on top? I know I could make my window I'm working on "always on top" but if I'm switching between screens this isn't ideal.
댓글 수: 0
답변 (1개)
Sean de Wolski
2014년 4월 3일
편집: Sean de Wolski
2014년 4월 3일
Specify the axes to plot to using the imshow(I,'parent',ax) syntax:
hAx = axes;
T = timer('Period',5,...
'ExecutionMode','fixedRate',...
'BusyMode','drop',...
'TasksToExecute',10,...
'StartDelay',0,...
'TimerFcn',@(src,evt)imshow(rand(256),'parent',hAx),...
'StartFcn',[],...
'StopFcn',[],...
'ErrorFcn',[]);
start(T)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!