The code that is run when you hit the display button is in spm_image.m
but the engine that seems to drive it is spm_orthviews.m (to see what
code is referred to by a button, help->press button, pull down
referenced topics..nice code navigation system BTW).
Some other codebitz you should look at are Matthew Brett's
display_slices and Kalina's m_slice.
Here are links:
http://www.mrc-cbu.cam.ac.uk/Imaging/display_slices.html
http://www-psych.stanford.edu/~kalina/SPM99/Tools/m_slice.html
Best wishes,
---sam
|