<div dir="ltr">Dear all,<br><br>I am writing to ask one question which appears very odd to me.<br><br>I finish the volumenarmalise, sourcestatistics and sourceinterpolate to a MRI, but when I do the sourceplot using the following script, an error pops out:<br>


<br><b style="color: rgb(255, 0, 0);">Script:</b><br>----------------<br>sMRI = read_mri(fullfile(spm('dir'), 'canonical', 'single_subj_T1.nii'));<br>cfg = [];<br>cfg.parameter = {'prob' 'mask'};<br>


statplot = ft_sourceinterpolate(cfg, stat, sMRI);<br><br>cfg = [];<br>cfg.method        = 'ortho';<br>cfg.maskparameter = 'mask';<br>cfg.funparameter  = 'prob';<br>cfg.interactive   = 'yes';<br>


figure<br>ft_sourceplot(cfg, statplot);<br>---------------------------------------------<br><br><b style="color: rgb(255, 0, 0);">Error</b><br>------------------<br>?? Error using ==> set<br>Bad property value found.<br>


Object Name :  axes<br>Property Name : 'ALim'<br>Values must be increasing and non-NaN.<br><br>Error in ==> alim at 44<br>    set(ax,'alim',val);<br><br>Error in ==> sourceplot>plot2D at 1212<br>

      alim(scales{3});<br>
<br>Error in ==> sourceplot at 754<br>    plot2D(vols2D, scales, doimage);<br><br>Error in ==> ft_sourceplot at 11<br>[varargout{1:nargout}] = funhandle(varargin{:});<br>--------------------------<br><br>However, if in the sourceplot, I just <b><span style="color: rgb(255, 0, 0);">unuse</span></b> <span style="color: rgb(255, 0, 0);">cfg.maskparameter = 'mask'</span>; then everything is fine. <br>


I checked my script, it seems to me everything is fine. Does anybody know what's problem with it or can give me some suggestion? <br>Thank you much in advance.<br><br>Best,<br>Feng<br><br></div>
<p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p>  http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p>  http://www.ru.nl/fcdonders/fieldtrip/</p>