Package scalaSci.math.plot

Examples of scalaSci.math.plot.FrameView$figureClosingAdapter


    }
    p2.getPlot(0).addGaussQuantiles(1, sXYZ);
    p2.getPlot(1).addGaussQuantiles(1, 0.1);

               
                new FrameView(p2).setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
  }
View Full Code Here


    p.addScatterPlot("toti", p.mapData(XYZ2));
    p.setAxisScale(1, "log");
                p.setAxisLabel(0, "Axis 0");
                p.setAxisLabels("sterg X", "sterg Y", "sterg Z");

    new FrameView(p).setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    HashMap<String, Double> arg = p.getAxis(2).getStringMap();
    Collection<Double> ouch = arg.values();
    Iterator<Double> it = ouch.iterator();
    while (it.hasNext()) {
      System.out.println(it.next());
View Full Code Here

  }
  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 }));

  new FrameView(p2).setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
View Full Code Here

      cloud2[i][2] = 2 + Math.random() + Math.random();
    }
    p.addCloudPlot("cloud2", Color.GREEN, cloud2, 3, 3, 3);

    p.setLegendOrientation(PlotPanel.SOUTH);
    new FrameView(p).setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
  }
View Full Code Here

      cloud2[i][1] = 2 + Math.random() + Math.random();
    }
    p.addCloudPlot("cloud2", Color.GREEN, cloud2, 2, 2);

    p.setLegendOrientation(PlotPanel.SOUTH);
    new FrameView(p).setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
  }
View Full Code Here

        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

Related Classes of scalaSci.math.plot.FrameView$figureClosingAdapter

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.