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

% Ex. No. 45 (Section  7.0.2 : Option \tkzname{sub})

\begin{tikzpicture}
 \tkzInit[xmax=4, ymax=2]
 \tkzGrid[sub,color=orange,
         subxstep=.5,subystep=.5]
  \tkzAxeXY
\end{tikzpicture}

\end{document}