|
Dear All,
I have a small question concerning plotting of histograms: when I create
a histogram in the way of the demo macro "HistogramPlotter.txt", the
histogram seems to be created when the macro ends. So when I try
Plot.create("Histogram", "Value", "Counts", values, counts);
selectWindow("Histogram");
in my macro, I get an error because the window with the Histogram is not
created yet. I have two questions about this:
1) Why is the plot-window created at the end of the macro?
2) When I want to create several histograms in a loop and I want to
bundle them in a montage for instance, it seems that only the last one
is plotted at the end of the macro. How can I create such a montage with
all the histograms?
I use ImageJ 1.35p on a linux server.
Thank you in advance!
Sjoerd Ligthart
|