Thanks for your input. I have committed my current work on an IDA visualizer to my repository - work in progress :) https://github.com/dyrlund/mzmine2/tree/IDAvisualizer
I am stuck at how to write each pair of x,y data to the chart as data points - please see IDAXYPlot.java. Can you help? Best, Thomas P.S. I know that my getX(), getY(), getZ() are a little weird - I'll fix that but for now just wanted to get a code which works :) -----Original Message----- From: Tomas Pluskal [mailto:plu...@gmail.com] Sent: 9. juli 2015 11:30 To: TFRD (Thomas Franck Dyrlund) Subject: Re: XYZSeries Hi Thomas, I think your idea is correct - store the data in your own arrays and just overload the getX(), getY(), getZ() methods. The XYSeries class is unnecessary for you. Tomas On Thu, Jul 9, 2015 at 6:23 PM, TFRD (Thomas Franck Dyrlund) <t...@steno.dk> wrote: > Hi Tomas > > > > I need your help with storing XYZ data in a dataset. For XY data I can use: > > > > import org.jfree.data.xy.XYSeries; > > XYSeries idaSeries; > > idaSeries.add(X,Y); > > > > But there seems to be no corresponding way to do it for XYZ data, e.g. > XYZSeries idaSeries;. > > > > Is the correct way just to store my data in a matrix instead and then > use the getX(), getY() and getZ() functions to return the correct > values? Or am I missing something? – please see my attached code. > > > > What I’m trying to do, is make a module to visualize IDA data based on > the > following: > > i. xy-plot of the RT value of the MS/MS scan (=x) and the > precursor ion m/z value of the scan (=y) > > ii. the colour of the spots will be based on the normalised > intensity of either (a). total intensity of all ions in ms/ms spectra > or (b). intensity of precursor ion in previous ms-spectra > > > > I have use the 2D visualizer as starting point for my module since it > has a lot of the features which I will also need. > > > > Thanks, > > > > Thomas ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Mzmine-devel mailing list Mzmine-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mzmine-devel