Login  Register

Re: Macro - Plot window - get values into array

Posted by Gluender on Apr 04, 2007; 11:19am
URL: http://imagej.273.s1.nabble.com/Macro-Plot-window-get-values-into-array-tp3699861p3699862.html

Dear Marcus Leinweber,

is the macro-routine "getProfile()" what you are looking for?

>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


HTH

Best


--


                   Herbie

          ------------------------

          <http://www.gluender.de>