[Eeglablist] pop_spectopo

Arnaud Delorme arno at salk.edu
Fri Feb 14 21:06:56 PST 2014

Dear Eduardo,

to plot the average power between 8 and 12 Hz, you can try something like

figure; [spec freqs] = pop_spectopo(EEG, 1, [-1000  1992.1875], 'EEG' , 'percent', 100, 'freq', [6 10 22], 'freqrange',[2 25],'electrodes','off');
indMinFreq = find(freqs > 8);
indMaxFreq = find(freqs < 12);
powerAlpha = mean(spec(:,indMinFreq(1):indMaxFreq(end)),2);
figure; topoplot(powerAlpha', EEG.chanlocs, 'maplimits', 'maxmin');


On Feb 6, 2014, at 10:38 AM, Eduardo Schenberg <edueeg at gmail.com> wrote:

> Hello,
> I am trying to plot only the topographic distribution of power at specified frequencies that appear in the upper part of the figure when using pop_spectopo function. Can anybody please help me to achieve this without using the GUI? I know that if I click on one of the head models after pop_spectopo I get a new figure with only that head, but I want to do this inside my script
> many thanks in advance
> eduardo
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20140214/6c393f11/attachment-0001.html 

More information about the eeglablist mailing list