Re: bar graphs
Posted by Ben G on Aug 27, 2008; 8:24pm
URL: http://imagej.273.s1.nabble.com/bar-graphs-tp3695266p3695269.html
I have a (hopefully) related question, so here goes:
I am trying to learn how to call the Analyze/Distribution commands from inside a macro.
I am going through a stack of images with the measure command, which generates a Results window.
I then execute the Analyze/Distribution command which takes the list in the Results window and displays a histogram of values in a Mean Distribution window. Clicking on the List command shows a second window named Mean Distribution with bins and counts. I need the second number in the "bin start" column to use as a threshold in other calculations.
So far, I have figured out how use run("...) commands to get all the way to showing the first Mean Distribution window, but I can't get it to show the List Window, or get any values out of the list.
I tried recording a macro and walking through the steps, but it doesn't record the commands either. So far, the record function is the only systematic way I have of finding internal commands. Otherwise I just have to trip over them in other example macros.
I would appreciate any help.