<div dir="ltr">Dear list, <div><br></div><div>I am trig to plot the connectivity degree of my beamforming sources, after interpolation. What happens, is that also the NaN values outside the headmodel are plotted (see figure below). </div><div><br></div><div>Is there an easy fix for this? or did I do some errors in my computation? </div><div><br></div><div><br></div><div>My code:</div><div><br></div><div>cfg = [];<br></div><div>cfg.method       = 'ortho';</div><div>cfg.funparameter = 'degrees';</div><div>cfg.maskparameter = 'mask';</div><div>cfg.funcolormap  = 'jet';</div><div>cfg.location         = 'max';</div><div>ft_sourceplot(cfg,source_degint_S);<br></div><div><br></div><div><br></div><div>and my data structure:</div><div><br></div><div><div>source_degint_S = </div><div>      anatomy: [91x109x91 double]</div><div>      coordsys: 'spm'</div><div>      dim: [91 109 91]</div><div>      transform: [4x4 double]</div><div>      unit: 'mm'</div><div>      inside: [91x109x91 logical]</div><div>      degrees: [91x109x91 double]</div><div>      cfg: [1x1 struct]</div></div><div><br></div><div><br></div><div>Thanks a lot in advance!</div><div>fosco</div><div><br></div><div><br></div><div><br></div><div><img src="cid:ii_15433baa855baff4" alt="Immagine incorporata 2" width="544" height="492"><br></div><div><br></div></div>