Package net.sf.mzmine.util.interpolatinglookuppaintscale

Examples of net.sf.mzmine.util.interpolatinglookuppaintscale.InterpolatingLookupPaintScale


    for (PeakList pl : peakLists) {

      // Create dataset & paint scale
      AbstractXYZDataset dataset = new LogratioDataset(pl, parameters);
      InterpolatingLookupPaintScale paintScale = new InterpolatingLookupPaintScale();
      paintScale.add(-1.00, new Color(0, 255, 0));
      paintScale.add(0.00, new Color(0, 0, 0));
      paintScale.add(1.00, new Color(255, 0, 0));

      // Create & show window
      RTMZAnalyzerWindow window = new RTMZAnalyzerWindow(dataset, pl,
          paintScale);
      MZmineCore.getDesktop().addInternalFrame(window);
View Full Code Here


    for (PeakList pl : peakLists) {

      // Create dataset & paint scale
      AbstractXYZDataset dataset = new CVDataset(pl, parameters);
      InterpolatingLookupPaintScale paintScale = new InterpolatingLookupPaintScale();

      paintScale.add(0.00, new Color(0, 0, 0));
      paintScale.add(0.15, new Color(102, 255, 102));
      paintScale.add(0.30, new Color(51, 102, 255));
      paintScale.add(0.45, new Color(255, 0, 0));

      // Create & show window
      RTMZAnalyzerWindow window = new RTMZAnalyzerWindow(dataset, pl,
          paintScale);
View Full Code Here

TOP

Related Classes of net.sf.mzmine.util.interpolatinglookuppaintscale.InterpolatingLookupPaintScale

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.