call("Colocalization_Finder.setScatterPlotRoi", '', '', '', ''); selectImage("ScatterPlot"); run("Duplicate...", "title=ScatterPlotCut"); for(i = 0; i < getWidth(); i++) { for(j = 0; j < getHeight(); j++) { setResult("X" , i * getHeight() + j, i); setResult("Y" , i * getHeight() + j, j); setResult("R" , i * getHeight() + j, Math.sqrt(Math.sqr(i) + Math.sqr(j))); setResult(fromCharCode(0x03B8, 0x0020, 0x0028, 0x00B0, 0x0029) , i * getHeight() + j, Math.atan2(j, i) * 180 / PI); setResult("Value" , i * getHeight() + j, getPixel(i, j)); } } updateResults(); close("ScatterPlotCut");