Allow switching between linear and logarithmic