protected double switchedLog10(double val){
  return this.smallLogFlag ? Math.log(val) / LOG10_VALUE : adjustedLog10(val);
}

protected double switchedLog10 ( double val ) { return this . smallLogFlag ? Math . log ( val ) / LOG10_VALUE : adjustedLog10 ( val ) ; }
returns the log10 value , 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 log is returned ; otherwise the returned value is adjusted if the given value is less than 10 .
