// This macro marks the positions of centroids. n = nResults; if (n==0) exit("No Results"); if (isNaN(getResult("X",0))) exit("No centroids in Results"); x = newArray(n); y = newArray(n); for (i=0; i