Login  Register

Re: Suggestion for Plot Profile

Posted by Gabriel Landini on Mar 12, 2021; 4:06pm
URL: http://imagej.273.s1.nabble.com/Suggestion-for-Plot-Profile-tp5024515p5024529.html

On Friday, 12 March 2021 14:43:06 GMT [hidden email] wrote:

> In macro code that you included in a follow up to your original post on this
> topic the last two lines are commented:
>
>   newImage("Untitled", "RGB ramp", 256, 256, 1);
>   run("Select All");
>   run("Plot Profile");
>   //selectWindow("Untitled");
>   //setKeyDown("alt"); run("Plot Profile");
>
> On my machine with macOS 10.14.6 running ImageJ1.53i28, if those two lines
> are uncommented I observe that the label showing the orientation does not
> initially appear in the second, "vertical" plot that is displayed but can
> be made to appear by then resizing that window, all as you describe. I
> imagine the commenting of those lines was meant to be undone?

Hi Bill,
Thanks for checking this.
The issue was easier to see in my setup if the lines were commented (i.e.
while doing a single horizontal plot). I included the other 2 lines to see
what happened if I called the vertical version of the plot).

If uncommented, the second plot also missed the label, as you reproduced.
Michael kindly offered a solution to this.

Best wishes

Gabriel

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