[Eeglablist] How to plot ERSP data from command line

Delorme, Arnaud adelorme at ucsd.edu
Sun Oct 13 10:16:37 PDT 2019


Dear Tsekoura,

Yes, you could use imagesc or better use the EEGLAB function tftopo (which by the way is the function that is being used to replot ERSP matrices at the STUDY level).

figure; [ersp itc powbase times freqs] = pop_newtimef( EEG, 1, 1, [-1000  1992], [3 0.8] , 'plotphase', 'off', 'padratio', 1, 'winsize', 128);
figure; tftopo(ersp, times, freqs);

Best wishes,

Arno

> On Oct 7, 2019, at 10:15 AM, Delorme, Arnaud <adelorme at ucsd.edu> wrote:
> 
> 
>> On Oct 6, 2019, at 5:46 AM, Konstantina Tsekoura <tsekou at ceid.upatras.gr> wrote:
>> 
>> 
>> Hello,
>> 
>> In my study I have extracted ERSP data from five subjects and now I would like to get an averaged ERSP image for each channel.
>> 
>> I followed this:
>> 
>> 
>> "Collect the output ERSP maps into a
>> 3D matrix with the dimensions (subjects,time,frequency). You can then use
>> 
>> mean(matrix_name,1);
>> 
>> to average over the first dimension of the matrix to create a 2D matrix of
>> dimensions (time, frequency)."
>> 
>> 
>> from a previous post in eeglablist, and now I would like to plot ERSP data matrices. Could i use the imagesc function of matlab in order to do this?
>> 
>> 
>> I would be grateful if you could help me.
>> 
>> Best wishes,
>> Tsekoura Konstantina
>> _______________________________________________
>> 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
> 



More information about the eeglablist mailing list