// StackProfilePlot // This macro selects a region of a stack and creates a New Stack macro "Select a zone" { stack1 = getImageID; if (nSlices==1) exit("Stack required"); stack2 = 0; selectImage(stack1); n = nSlices; w=0; h=0; x=0; y=0; getSelectionBounds(x,y,w,h); for (i=1; i