| Well I believe you John ! Did you really mean spm_defaults.m rather than
| spm_global.m below?
| Changing the dimensions at the line:
| sptl_Vx = [2 2 2]; % 2mm x 2mm x 2mm
| in spm_defaults.m changes the voxel sizes for normalisation for both batch
| and interactive modes.
Whoops. Yes, I should have said spm_defaults.m.
|
| Also, is it also possible to change the default PRINTSTR 'DefPrintCmd'? It
| currently defaults to postscript
| and the filename spm99.ps but I would like to change it (permanently) so
| that it always defaults to JPEG and uses the very useful incremental
| filename format i.e. 'spmfig_24Feb001', but can't find where/how to change
| this.
This is possible (see spm_defaults_edit.m). Its a matter of changing
spm_defaults.m (about line 23) where it says:
PRINTSTR = [spm_figure('DefPrintCmd'),'spm99.ps'];
to
fname = 'piccy';
PRINTSTR = ['global PAGENUM;if isempty(PAGENUM),PAGENUM = 1;end;'...
'print(''-noui'',''-painters'',''-djpeg'','...
'[''' fname '_'' num2str(PAGENUM) ''.jpeg'']);'...
'PAGENUM = PAGENUM + 1;'];
Best regards,
-John
|