Hi there,
> However, I do not get the graph showing the translation and roataion as
> function of image.
The graphs may not be saved but you can always recreate them as the data
is (of course :) saved in the rp... text file. For later exploration,
you can try something like
filt = ['^rp_*','.*\.txt$'];
a = spm_select(1,'any','Select realignment parameters',[],pwd, filt);
[p nm e] = fileparts(a);
printfig = figure;
set(printfig, 'Name', ['Motion parameters'], 'Visible', 'on');
loadmot = load(a);
subplot(2,1,1);
plot(loadmot(:,1:3));
title(['Motion parameters: shifts (top, in mm) and rotations '...
'(bottom, in dg)'], 'interpreter', 'none');
subplot(2,1,2);
plot(loadmot(:,4:6)*180/pi);
title(['Data from ' p], 'interpreter', 'none');
This graph can then be saved at your leisure :)
Best,
Marko
--
=====================================================================
Marko Wilke (Dr.med./M.D.)
[log in to unmask]
Universitäts-Kinderklinik University Children's Hospital
Abt. III (Neuropädiatrie) Dept. III (Pediatric neurology)
Hoppe-Seyler-Str. 1, D - 72076 Tübingen
Tel.: (+49) 07071 29-83416 Fax: (+49) 07071 29-5473
=====================================================================
|