set format of x and y to %g