run("Interpolate"); //edit>selection>interpolate getSelectionCoordinates(x, y); values = newArray(x.length); for (i=0; i