public void pan(double percent){
  Range r=getRange();
  double length=range.getLength();
  double adj=length * percent;
  double lower=r.getLowerBound() + adj;
  double upper=r.getUpperBound() + adj;
  setRange(lower,upper);
}

public void pan ( double percent ) { Range r = getRange ( ) ; double length = range . getLength ( ) ; double adj = length * percent ; double lower = r . getLowerBound ( ) + adj ; double upper = r . getUpperBound ( ) + adj ; setRange ( lower , upper ) ; }
slides the axis range by the specified percentage .
