function showslices(anat,coords)
figure('Name',inputname(1));
x=coords(1);
y=coords(2);
z=coords(3);
subplot(2,2,1)
imagesc(squeeze(anat(x,:,:))');colormap gray;
hold on;
plot(y,z,'x');
subplot(2,2,2)
imagesc(squeeze(anat(:,y,:))');colormap gray;
hold on;
plot(x,z,'x');
subplot(2,2,3)
imagesc(squeeze(anat(:,:,z))');colormap gray;
hold on;
plot(x,y,'x');
end