[Eeglablist] color bar and headplot

arno arno at salk.edu
Wed Mar 22 05:42:30 PST 2006


Henrik,

the pop_headplot function can take care of making the colorscale the 
same in all the headplots at the different latencies (it involves taking 
the maximum and minimun of potential at all latencies).

pop_headplot(EEG,1,-100:200:800, 'ERP scalp maps of cen_old');

Best,

Arno

Henrik Ormåsen wrote:
> We will make a move from a series of headplots. I've made a little
> script for this. The problem is that colorbarscale is not the same
> across all the pictures.
>
> Script:
> counter = 0;
> for latency = -100:200:800 
>
>  figure; pop_headplot(EEG,1,latency, 'ERP scalp maps of cen_old', [1 1], 'maplimits', [-max(-3,0) max(1,3)]);
>
>      print('-djpeg', sprintf('movieframe%3d.jpg', counter));%save as jpg
>      close; % close current figure
>      counter = counter + 1;
> end;
>
> - Henrik
> _______________________________________________
> eeglablist mailing list eeglablist at sccn.ucsd.edu
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
>
>
>   




More information about the eeglablist mailing list