Add some buttons to switch between logarithmic and linear scales.