reformat numbers when using axis function