Plot Z-axis Profile

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Plot Z-axis Profile

tobi
Hello

I have here a macro from "Plot Z-axis Profile"

when i manual save is the Result in my csv so :    0,0.0142
and with the makro is the Resultin csv so:         1,0,0.0142

how can change to output is "standard" 0,0.0142

plot.ijm <http://imagej.1557.x6.nabble.com/file/t382179/plot.ijm>  


Regards



--
Sent from: http://imagej.1557.x6.nabble.com/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Plot Z-axis Profile

Michael Schmid-3
Hi Tobi,

it seems that the first column in your csv file is the row number.
Use Edit>Options>Input/Output to control whether you want row numbers or
not ("Save row numbers").

You can use the Macro recorder Plugins>Macros>Record to get the macro
command for settings the Input/Output options of your choice.


By the way, in your macro
   xpoints = newArray ();
   ypoints = newArray ();
   Plot.getValues (xpoints, ypoints);
you don't need the two lines for creating the xpoints & ypoints arrays;
Plot.getValues creates them anyhow.

Michael
________________________________________________________________


On 07.12.18 15:06, tobi wrote:

> Hello
>
> I have here a macro from "Plot Z-axis Profile"
>
> when i manual save is the Result in my csv so :    0,0.0142
> and with the makro is the Resultin csv so:         1,0,0.0142
>
> how can change to output is "standard" 0,0.0142
>
> plot.ijm <http://imagej.1557.x6.nabble.com/file/t382179/plot.ijm>
>
>
> Regards
>
>
>
> --
> Sent from: http://imagej.1557.x6.nabble.com/
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html