> On Jun 5, 2015, at 10:45 AM, Gelman, Laurent <
[hidden email]> wrote:
>
> Hi everybody,
>
> In a macro, I use the following command:
> run("Canvas Size...", "width=528 height=510 position=Bottom-Center zero");
> For years, this has been working both on regular image windows and plots (I combine them after in one image), but now it does not anymore. The size of the canvas changes, but the plot is stretched (as if I had done a "resize"). Note that this command still works properly on images…
Plots are resizable in ImageJ 1.49t or later. You can avoid this behavior by clicking on “More>>” in the plot window and selecting “Freeze Plot” from the drop down menu. When creating a plot, use the Plot.freeze() macro function or Plot.setFrozen(true) method to make the plot non-resizable. Or upgrade to the latest ImageJ daily build (1.49u16) and the "Canvas Size…” command will automatically freeze the plot.
-wayne
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html