avoid too many decimal places on x-axis