Login  Register

Re: Plot a histogram with specific fixed bin width

Posted by Herbie on Jul 14, 2017; 9:18am
URL: http://imagej.273.s1.nabble.com/Plot-a-histogram-with-specific-fixed-bin-width-tp5019061p5019062.html

This is a cross-post from the forum and in my opinion the answer can be
found there.

<http://forum.imagej.net/t/plot-a-histogram-of-specific-bin-width/6116/5>

Best

Herbie


Am 13.07.17 um 20:18 schrieb Kai Schleicher:

> I have a 32-bit image stack of which I wish to create a histogram. This
> work well by simply using
>
> |run("Histogram", "bins=256 use y_max=Auto stack");|
>
> However, I wish to fix the bin width to a certain value. By default I
> believe its set to (min-max)/nBins, but I would like to fix it to a
> specific value.Is there a way to integrate that in a macro?
>
> Thanks and cheers,
> Kai
>

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