Package jmt.engine.math

Examples of jmt.engine.math.DistributionDensity


  }

  private void updateGraph(){
    //updates the Graph
    DistributionDensity dist = sop.getDist();
    graphHolder.removeAll();
    int type = graphType.getSelectedIndex();
    if (type != DistributionDensity.TYPE_NONE && dist != null) {
      dist.setType(type);
      graph = new DistributionDensityGraph(dist);
      graph.setToolTipText("Displays desired graph. Right click to 'Save As' and double click to enlarge.");
      graph.setMinimumSize(new Dimension(200, 150));
      graph.setPreferredSize(new Dimension(300, 250));
      graphHolder.add(graph);
View Full Code Here


 
  public void setDistribution(double min, double max, int intervals, int type) {
    if (type == DistributionDensity.TYPE_NONE) {
      dist = null;
    } else {
      dist = new DistributionDensity(min, max, intervals, type);
    }
  }
View Full Code Here

TOP

Related Classes of jmt.engine.math.DistributionDensity

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.