[Eeglablist] "children" command

arno arno at salk.edu
Wed Mar 22 05:09:28 PST 2006


Dear Andre,

to use the childreen command, invoke a first eegplot window, then call 
the second one with " 'childreen', gcf " as argument. For instance

eegplot(EEG.data, 'winlength', 5, 'position', [100 550 800 500], 
'limits', [EEG.xmin EEG.xmax]*1000, 'tag', 'childEEG' );

eegplot( EEG.data, 'winlength', 5, 'limits', [EEG.xmin EEG.xmax]*1000, 
'children', gcf, 'position', [100 50 800 500], 'command', 
'close(findobj(''tag'', ''childEEG''));');

This will call twice eegplot with the same data (relatively useless in 
this case). The tag in the first eegplot help close the first eegplot 
window when the second one is closed (using the 'command' argument in 
the second call).

Best,

Arno

Andre Barkil wrote:
> Dear list members
>
> How can i use the children command? Because it’s really useful when we
> have to compare two plots before and after ICA decomposition.
>
> thanks in advance for any suggestions
>
> Andre Barkil
>   




More information about the eeglablist mailing list