[FieldTrip] Help about ft_topoplotIC?

tongxiao meng mengtongxiao at gmail.com
Wed Mar 5 14:28:48 CET 2014

Dear all,
My question is: I use ICA to remove EOG artifacts, can't plot the
components for visual inspection using ft_topoplotIC().

Now for what I did:
 cfg.grad =data.grad;
 layout = ft_prepare_layout(cfg, data);

cfg = [];
cfg.component = [1:20];
cfg.layout    = layout ;
cfg.comment   = 'no';
ft_topoplotIC(cfg, comp)

??? Error using ==> surf at 78
X, Y, Z, and C cannot be complex.

Error in ==> ft_plot_topo at 251
  h = surf(Xi-deltax/2,Yi-deltay/2,zeros(size(Zi)), Zi, 'EdgeColor',
  'none', 'FaceColor', shading);

Error in ==> topoplot_common at 701

Error in ==> ft_topoplotTFR at 191
[cfg] = topoplot_common(cfg, varargin{:});

Error in ==> ft_topoplotIC at 142
    ft_topoplotTFR(cfg, varargin{:});
how can I  do?

Thanks a lot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140305/f6b3ad19/attachment-0001.html>

More information about the fieldtrip mailing list