Added the drawing of the tickmarks.