<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:14px">Dear all,</span>  <br></div><div><span style="font-family:arial,sans-serif;font-size:14px">My question is:</span> I use ICA to remove EOG artifacts, can't plot the components for visual inspection using ft_topoplotIC().</div>
<div><br></div><div><span style="font-family:arial,sans-serif;font-size:14px">Now for what I did:</span> <br></div><div><div>cfg=[];</div><div> cfg.grad =data.grad;</div><div> layout = ft_prepare_layout(cfg, data);</div></div>
<div><br></div><div><div>figure</div><div>cfg = [];</div><div>cfg.component = [1:20];      </div><div>cfg.layout    = layout ;</div><div>cfg.comment   = 'no';</div><div>ft_topoplotIC(cfg, comp)</div></div><div><br>
</div><div>??? Error using ==> surf at 78</div><div>X, Y, Z, and C cannot be complex.</div><div><br></div><div>Error in ==> ft_plot_topo at 251</div><div>  h = surf(Xi-deltax/2,Yi-deltay/2,zeros(size(Zi)), Zi, 'EdgeColor',</div>
<div>  'none', 'FaceColor', shading);</div><div><br></div><div>Error in ==> topoplot_common at 701</div><div>  ft_plot_topo(chanX,chanY,datavector,'interpmethod',cfg.interpolation,...</div><div>
<br></div><div>Error in ==> ft_topoplotTFR at 191</div><div>[cfg] = topoplot_common(cfg, varargin{:});</div><div><br></div><div>Error in ==> ft_topoplotIC at 142</div><div>    ft_topoplotTFR(cfg, varargin{:});</div>
<div><span style="font-family:arial,sans-serif;font-size:14px">how can I  </span>do?<br></div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:14px">Thanks a lot</span> <br></div><div style>Xiao</div>
</div>