plotting XY data
Posted by Ninja Chris on May 05, 2010; 1:57pm
URL: http://imagej.273.s1.nabble.com/plotting-XY-data-tp3688400.html
Hello everyone,
I would like to use ImageJ to analyse my NMR spectra. The files are Bruker format but the Bruker plugin doesn't work for me- it can't find an "acqp" file associated with the FIDs, which is odd as SpinWorks opens the FIDs fine. Ultimately I would like to plot XY data of the spectra in ImageJ so that I can integrate peaks and compare relative peak areas between spectra. I've tried using the Plot.create function but can't get it to work:
macro "NMR spectra plot" {
xValues = newArray(~comma delimited x values~)
yValues = newArray(~comma delimited y values~)
}
Plot.create("Scatter Plot", "X", "Y");
Plot.setLimits(0, 16384, 0, 100000);
Plot.add("dots", x, y);
I would be very grateful for any help people can offer.
Chris