topoplotTFR problem

Nathan Hutcheson nhutche at GMAIL.COM
Mon Dec 28 21:45:48 CET 2009


Hello,

I am a graduate student at UAB and am having a problem getting Fieldtrip to 
plot my EEG preprocessed data using the topoplotTFR function.  Below is what 
I entered into the Matlab command line:

addpath(genpath('/usr/local/pkg/MATLAB/toolbox/eeglab7_1_3_14b/external/fie
ldtrip-20090727/')) '

cfg = [];
cfg.xlim         = [-.5 -.25];   
%cfg.zlim         = [-1.5e-27 1.5e-27];
cfg.ylim         = [8 12];
cfg.baseline     = [-0.5 -0.1];	
cfg.baselinetype = 'absolute';
cfg.showlabels   = 'markers';
figure 
topoplotTFR(cfg,TFRhann)

This is the error message I get:

??? Error using ==> topoplot at 1019
Odd number of input arguments??

Error in ==> topoplotER at 482
topoplot(cfg,chanX,chanY,datavector,chanLabels);

Error in ==> topoplotTFR at 101
cfg=topoplotER(cfg, varargin{:});

Error in ==> tempFieldtriptest at 11
topoplotTFR(cfg,TFRhann) 

Any ideas/ suggestions?

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.



More information about the fieldtrip mailing list