Global Index (short | long) | Local contents | Local Index (short | long)
iduipw(arg,onoff)
IDUIPW Callback for all plot windows in the ident GUI. The function checks if the window called is on the screen. If necessary created, and then filled with the relevant plots. The input argument ARG is the number of the window ONOFF tells whether the window should be Visible or not visible
This function calls | This function is called by |
---|---|
function iduipw(arg,onoff) % L. Ljung 4-4-94 % Copyright (c) 1986-98 by The MathWorks, Inc. % $Revision: 2.3 $ $Date: 1997/12/02 03:41:04 $ global XIDplotw if nargin==2,set(XIDplotw(arg,2),'value',onoff),drawnow,end if any(arg==[8,9,10,11]) tes=1; else tes=get(XIDplotw(arg,2),'value'); end if tes,onoff='on';else onoff='off';end h=iduiwok(arg); if isempty(h)&tes,XIDplotw(arg,1)=idbuildw(arg);h=XIDplotw(arg,1);end eval('set(h,''visible'',onoff);','') if tes if any(arg==[1 2 3 4 5 6 7 13]) if any(arg==[1,13]) [act,cact]=fiacthad; if ~isempty(act) iduimod(arg,act,cact); end else [act,cact]=fiactham; if ~isempty(act) iduimod(arg,act,cact); end end end % if arg<8 end % if tes iduistat('Click on data/model icons to plot/unplot curves.')