help > Remove/change label slices via scripting
Nov 29, 2018  11:11 AM | vflanagin1 - LMU Munich
Remove/change label slices via scripting
Hello,

I am scripting my image creation and have managed to get my figure as I would like it. When I use the mosaic display, I would like to either remove the slice labels, or ideally move them to a position above the slices so that there is no overlap. I have looked for how to do this within a script but I haven't managed. I thought it would be SLICETEXT(false), but that does not remove the slice labels. This is my script:

begin
resetdefaults;
LOADIMAGE('mni152_2009bet');
OVERLAYLOADSMOOTH(true);
OVERLAYLOAD('HelpAnal_FWEcluster.nii');
OVERLAYMINMAX(1, 2, 10);
OVERLAYCOLORname(1, '1hot');
SLICETEXT(false);
BACKCOLOR(255, 255,255);
SHADERNAME('overlay');
MOSAIC('C L+ H 0.2 V 0.0 -96 -88 -80 -72 -64; -56 -48 -40 -32 -24; -16 -8 0 8 16; 24 S X R 0');
COLORBARVISIBLE(true);
end.

Is it possible to move the location of the slice labels with respect to the slices in such a way that the vertical and horizontal overlay values take the labels into account? If not, how do I script removing the labels?

Thanks,

Virginia

Threaded View

TitleAuthorDate
Remove/change label slices via scripting
vflanagin1 Nov 29, 2018
Chris Rorden Nov 29, 2018
vflanagin1 Nov 29, 2018