topoplotTFR problem

Raquel Bibi bibi.raquel at GMAIL.COM
Tue Dec 29 04:32:30 CET 2009


I had a similar problem.  It was due to having the same function in EEGLAB.
If you are using EEGLAB make sure to set the path below fieldtrip.

Best,
Raquel

On Mon, Dec 28, 2009 at 3:45 PM, Nathan Hutcheson <nhutche at gmail.com> wrote:

> 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.
>

----------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20091228/afbf58b0/attachment.html>


More information about the fieldtrip mailing list