-
Notifications
You must be signed in to change notification settings - Fork 256
Description
Description
Dear Soyoung,
Do you mean that the scale for the difference ERSP cannot be tuned in the parameters? The 'erspmax' and 'itcmax' parameters do set the correct limits for the plots of condition 1 and condition 2. There is no such parameter yet for the difference plot. I have added a enhancement querry to Bugzilla and we will try to address that problem as soon as possible. In the meantime, you may modify your own function and set the limit manually, line 1519 to 1521 (plottimef call) by modifying the g.erspmax (line 1519) and g.itcmax (line 1520) values.
Thanks for the feedback,
Arno
Soyoung Kwon wrote:
While using the function of newtimef(), I need a help.
Since I desire to display ERSP & ITC of individual datasets and change of datasets in the same scale, I defined the erspmax and itcmax in fixed number.
[ersp,itc,powbase,times,freqs,erspboot,itcboot] = newtimef({ALLEEG(1).data(chan,:,:) ALLEEG(2).data(chan,:,:)}, ...
EEG.pnts, [EEG.xmin EEG.xmax]*1000, EEG.srate, [0], 'padratio', 4, 'alpha', 0.05 , 'erspmax', [4], 'itcmax', [0.6], 'erplim', [-6 6])
Steps to Reproduce
See line 1022 in newtimef:
g.erspmax = []; g.itcmax = []; % auto scale inserted for diff
Expected behavior:
Limits should be applied to plot
EEGLAB Version:
2019.1
OS version | [Any version] |
Matlab version | [Any version] |
EEGLAB version | [Any version] |
Activity