horizontal and vertical scale