<div> </div>
<div>Dear Fieldtrippers,</div>
<div> </div>
<div>I have a question about ft_sourceplot (version 20111009).</div>
<div> </div>
<div>I am following the tutorial on the reverse grid transformation (<a href="http://fieldtrip.fcdonders.nl/example/create_single-subject_grids_in_individual_head_space_that_are_all_aligned_in_mni_space?s[]=normalization">http://fieldtrip.fcdonders.nl/example/create_single-subject_grids_in_individual_head_space_that_are_all_aligned_in_mni_space?s[]=normalization</a>).</div>
<div> </div>
<div>I can get to the end of the script and try to plot the relative change in power of the stimulus condition again the baseline (visual task).</div>
<div> </div>
<div>I have attached the figures I get from one subject only. </div>
<div> </div>
<div>First of all, it is upside-down. Is it correct? How to change this?</div>
<div> </div>
<div> </div>
<div>Here is the script I use:</div>
<div> </div>
<div> mri = ft_read_mri(mri_name);<br> cfg = [];<br> cfg.downsample = 1;<br> sourceDiff.dim = [17 20 17];<br> sourceDiff_Int = ft_sourceinterpolate(cfg, sourceDiff , mri);</div>
<div> </div>
<div> cfg = [];<br> cfg.method = 'ortho';<br> cfg.funparameter = 'avg.pow';</div>
<div> cfg.maskparameter = cfg.funparameter;</div>
<div> cfg.units = 'mm';</div>
<div> cfg.opacitylim = [0.2 1.3];<br> ft_sourceplot(cfg,sourceDiff_Int);</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>This is the structure of sourceDiff_Int:</div>
<div> </div>
<div>sourceDiff_Int = </div>
<div> </div>
<div> inside: [256x256x256 logical]<br> avg: [1x1 struct]<br> dim: [256 256 256]<br> transform: [4x4 double]<br> anatomy: [256x256x256 int16]<br> coordsys: 'ctf'<br> unit: 'mm'<br>
cfg: [1x1 struct]</div>
<div> </div>
<div> </div>
<div> </div>
<div>Thanks for the help,</div>
<div> </div>
<div>Davide<br clear="all"></div>