Posted by Jerome Mutterer-3 on URL: http://imagej.273.s1.nabble.com/Plot-getValues-values-counts-tp3687639p3687640.html
>
> Plot.getValues(values, counts);
I cannot do this in Java.
WHY!?
Hi,
Go the the ImageJ source code, look in ij.macro.Functions.java
Search for string 'getValues'.
In the doPlot method, you see that getValues calls the getPlotValues();
method.
You find the source code for this method at line 1809.
There you can see how this function works, and that PlotWindow has
getXValues() and getYValues() methods.