Re: Plot Profile Data
Posted by
Emanuele Martini on
Dec 09, 2015; 8:17am
URL: http://imagej.273.s1.nabble.com/Plot-Profile-Data-tp5015167p5015181.html
Hey Dave,
a year ago I wrote a plugin that took the values of a plot window.
If I remember well, I used these lines:
pplot=WindowManager.getCurrentWindow()
X_distance=pplot.XValues;
X_distance_list=X_distance.tolist();
the trick is to pay attention in getCurrentWindow, you have to be sure that the last active window is the plot.
If not, you can pass by WindowManager.getWindow("name of your window").
I wrote it in Jython.
Hoping to be helpful,
have anice day,
Emanuele
Image Analyst @Ifom-IEO research campus -MI-