Smart scaling for the frequency axis.