Change minimum and maximum values for scales.