Added function to format log axis in Matlab.