[FieldTrip] topoplot of vector
Fanny Quandt
fannyquandt at gmail.com
Fri May 25 10:12:58 CEST 2012
Dear Fieldtrip-User,
I am trying to plot some results ( one value per channel) using a topoplot function.
Since I am working with ECoG data, I specified my own layout with ft_prepare_layout. Plotting my results obtain from ft_freqanalysis using ft_topoplotER works just fine.
Now 2 Questions:
1) Is there a way to plot data, using ft_topoplotER , which is not obtain from freqanalysis or timelocked analysis, but which is only a vector.
2) I tried using the function topoplot (topoplot(cfg,dat) where cfg contained the layout. However I get the following error message. It might be that some points of my mask fall outside the outline, which does not cause a problem using ft_topoplotER.
Undefined function 'inside_contour' for input arguments of type
'double'.
Error in topoplot (line 488)
maskA(inside_contour([Xi(:) Yi(:)], cfg.layout.mask{i})) = true;
I would very much appreciate any help.
Best,
Fanny
More information about the fieldtrip
mailing list