Posted by
Herbie on
Jun 21, 2020; 10:39am
URL: http://imagej.273.s1.nabble.com/save-the-data-from-Oval-Profile-Plot-tp5023546p5023547.html
Good day Thomas,
this is in fact strange...
Usually
"
*Plot.getValues(xpoints, ypoints)*
Returns the values displayed by clicking on "List" in a plot or
histogram window (example).
"
should do what you want.
In case of the plot in question this doesn't work.
I've briefly inspected the source code and it contains the usual plot
calls* but I can't find the axis labels in the source code. Not sure
what's going on.
Perhaps someone else is able to lift the veil of secrecy.
Regards
Herbie
___________
*
void createPlot()
{
String xLabel = "";
if(mode == 3) xLabel = "Circumference";
else xLabel = "Degrees";
Plot plot = new Plot(modes[mode], xLabel, "Gray Value",
xValues, profile);
plot.setLimits(getMin(xValues), getMax(xValues),
getMin(profile), getMax(profile));
plot.setColor(Color.black);
plot.show();
}
In fact the actual y-label reads "Normalized Integrated Intensity" a
string I can't find in the source code.
Consequently, there must be another plot method.
::::::::::::::::::::::::::::::::::::::
Am 20.06.20 um 23:18 schrieb foxtango:
> Hi,
>
> I can use the Oval Profile Plot and download the list interactively. But I
> do not know how to do in a macro. getProfile() seems to require a
> rectangular selection or a straight line.
>
> thank you, Thomas
>
>
>
> -----
> Thomas
> --
> Sent from:
http://imagej.1557.x6.nabble.com/>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html