Draw ticks and numbers in the legend