// This tool allows you to record x and y values by // clicking in an image window or plot window. // // You can permanently install this tool in the ImageJ // toolbar by saving it in the ImageJ/plugins/Tools // folder as "Coordinate Picker Tool.ijm", restarting // ImageJ and selecting "Coordinate Picker Tool" from // the toolbar's ">>" menu. macro "Coordinate Picker Tool -C00cL08f8L808f" { getCursorLoc(x, y, z, flags); toScaled(x, y) row = nResults; setResult("X", row, x); setResult("Y", row, y); updateResults; }