For overlay-slices, I think you would modify line 267 of spm_transverse.m
from:
d = max([d ; T1(:) ; T3(:) ; eps]);
to:
d = 5.0;
You can make a copy of the original function to your own matlab directory
and modify this one, rather than your official SPM99 installation. Matlab
will use the first spm_transverse that it finds in the path. (You may need
to "clear functions" first, or possibly modify the path within matlab).
For overlay-sections, you need to modify spm_orthviews.m at around line
242. The line currently states:
mx = max([eps max(t)]);
but to do what you want, you need to modify it to:
mx = 5.00;
The rendering display is a little more tricky, as the intensities of the
blobs are the integral of the T-scores times some exponential function of
depth. You would need to find some arbitrary maximum value to use (by
trial and error), and modify line 176 of spm_render.m from:
mxmx = max(mx);
to:
mxmx = some_value;
All the best,
-John
| When making figures of different subjects,
| I would like to use the same scale among them.
| How can we fix the maximum and the minimum
| of a color bar and the depth of a color map of
| the "overlay-slices", "overlay-sections" and "render" tool in SPM99?
| i.e. setting the maximum T-value of the color bar and
| the color map to 5.00 and so on.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|