public double switchedPow10(double val){
  return this.smallLogFlag ? Math.pow(10.0,val) : adjustedPow10(val);
}

public double switchedPow10 ( double val ) { return this . smallLogFlag ? Math . pow ( 10.0 , val ) : adjustedPow10 ( val ) ; }
returns a power of 10 , depending on if values between 0 and 1 are being plotted . if negative values are not allowed and the lower bound is between 0 and 10 then a normal power is returned ; otherwise the returned value is adjusted if the given value is less than 1 .
