edu.ucla.stat.SOCR.analyses.util.utils
Class SmartAxis

java.lang.Object
  extended by edu.ucla.stat.SOCR.analyses.util.utils.SmartAxis

public class SmartAxis
extends java.lang.Object

MultiDendrograms

Calculate smart axis bounds and ticks

Since:
JDK 6.0
Author:
Justo Montiel, David Torres, Sergio Gómez, Alberto Fernández

Nested Class Summary
static class SmartAxis.NiceType
           
 
Constructor Summary
SmartAxis(double min, double max)
           
 
Method Summary
 void calculateSmartAxis()
           
 double niceNum(double x, int nrange, SmartAxis.NiceType round)
           
 double smartMax()
           
 double smartMin()
           
 double smartTicksSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartAxis

public SmartAxis(double min,
                 double max)
Method Detail

smartMin

public double smartMin()

smartMax

public double smartMax()

smartTicksSize

public double smartTicksSize()

calculateSmartAxis

public void calculateSmartAxis()

niceNum

public double niceNum(double x,
                      int nrange,
                      SmartAxis.NiceType round)