フィルターのクリア

Is it possible to plot images without them disturbing other work

2 ビュー (過去 30 日間)
Cl
Cl 2014 年 4 月 3 日
編集済み: Sean de Wolski 2014 年 4 月 3 日
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.

回答 (1 件)

Sean de Wolski
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)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by