\begin{tikzpicture} \tkzInit[xmax=5,ymax=2] \tkzAxeXY \tkzVLines[color = green]{1,2,...,4} \end{tikzpicture}