Login  Register

Macro - Plot window - get values into array

Posted by Marcus Leinweber on Apr 04, 2007; 10:48am
URL: http://imagej.273.s1.nabble.com/Macro-Plot-window-get-values-into-array-tp3699861.html

Dear list,

Within a macro, I want to extract list values which I get back from a
profile plot of a plugin.
Is there a possibility to get these list values directly into an array?
Or do I have to save them first and then read them in again?

...
        run("Profile Plot Options...", "width=450 height=200 minimum=0
maximum=0 do list interpolate draw");
...
        selectWindow("Plot Values");
        saveAs("Text", "C:\\temp\\Plot Values1.txt");
--> I don't to save them but assign them to an array.


Thanks in advance for suggestions and solutions,
Marcus