Package scalaSci.math.plot

Examples of scalaSci.math.plot.Plot2DPanel.addScatterPlot()


        XYZ[j][0] = Math.random();
        XYZ[j][1] = Math.random();
        sXYZ[j] = Math.random();
      }

      p2.addScatterPlot("toto" + i, XYZ);
    }
    p2.getPlot(0).addGaussQuantiles(1, sXYZ);
    p2.getPlot(1).addGaussQuantiles(1, 0.1);

               
View Full Code Here


    double[][] XYZ = new double[10][2];
    for (int j = 0; j < XYZ.length; j++) {
      XYZ[j][0] = /*1 + */Math.random();
      XYZ[j][1] = /*100 * */10 * Math.random();
    }
  p2.addScatterPlot("toto" + i, XYZ);
  }
  p2.getPlot(0).addQuantiles(1, new double[] {/*-3,-2,*/-4, -2, -0.5, 0, 0.5, 2, 4 /*,2,3*/});
  p2.getPlot(1).addQuantiles(1, new double[] { -3, -2, -1, 0, 1, 2, 3 });
    //p2.getPlot(1).addLayer(new DensityLayerPlot(p2.getPlot(1), 1, new double[] { -.1, 0, .1 }));

View Full Code Here

      double[][] XYZ = new double[10][2];
      for (int j = 0; j < XYZ.length; j++) {
        XYZ[j][0] = /*1 + */Math.random();
        XYZ[j][1] = /*100 * */Math.random();
      }
      p2.addScatterPlot("toto" + i, XYZ);
    }
    p2.addQuantiletoPlot(0, 1, 1.0, true, 0.2);
    new FrameView(p2).setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.