<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Dear Fieldtrip Users,<div><br></div><div><br></div><div>I used the surface file "cortex_5124.surf.gii" to restrict sources on cortex. I wonder how I can plot powermaps on surface?</div><div><br></div><div>cfg.surffile=ft_read_headshape('cortex_5124.surf.gii');<br></div><div><br></div><div>even I save it's output in a new .mat file: "sourcemodel.mat" and tried </div><div>cgf.surffile =  'sourcemodel.mat';</div><div><br></div><div>in either case the function "ft_sourceplot"  gives error.</div><div><br></div><div><div><font face="monospace, monospace">cfg = [];</font></div><div><font face="monospace, monospace">cfg.method         = 'surface';</font></div><div><font face="monospace, monospace">cfg.funparameter   = 'avg.pow';</font></div></div><div><font face="monospace, monospace">cfg.funcolormap    = 'jet';<br></font></div><div><font face="monospace, monospace">cfg.surffile='sourcemodel.mat';<br></font></div><div><font face="monospace, monospace">ft_sourceplot(cfg, src)</font><br></div><div><font face="monospace, monospace"><br></font></div><div><font face="arial, helvetica, sans-serif">In my code I have defined surface vertices and triangles, as well as power per vertex, I wonder What is wrong in my code? </font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Many Thanks in advance,</font></div><div><font face="arial, helvetica, sans-serif">Best,</font></div><div><font face="arial, helvetica, sans-serif">Keyvan</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div></div>
</div><br></div>