\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 9 (Section  5.2 : Another example with \tkzname{xstep} and \tkzname{ystep})

\begin{tikzpicture}
  \tkzInit[xmax=5,xstep=1,ymax=2,ystep=.5]
    \tkzGrid
    \tkzAxeXY
\end{tikzpicture}

\end{document}