improved drawing of X-axis ticks in graphs