// ListSelectionCoordinates // // This macro lists the coordinates of the points // that define the current selection and the length // of the line segments that connect the points. if (selectionType==-1) exit("Selection required"); getSelectionCoordinates(x, y); getPixelSize(unit, pixelWidth, pixelHeight); run("Clear Results"); count = 0; n = x.length; for (i=0; i0) // setResult("Length", n, sumLength/count); updateResults();