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

% Ex. No. 29 (Section  6.2.7 : Colour of the graduations)

\begin{tikzpicture}
  \tkzInit[xmin = -2,xmax = 3,
           ymin = -2,ymax = 2]
 \tkzDrawX[color = red,
           label = $\displaystyle\frac{1}{t}$,
           below = 6pt]
 \tkzLabelX[text=blue]
\end{tikzpicture}

\end{document}