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

% Ex. No. 39 (Section  6.7.3 : Option \tkzname{swap})

\begin{tikzpicture}
\tkzInit[xmin=-2,xmax=2,ymin=-2,ymax=2]
\tkzAxeXY[label={},swap]
\end{tikzpicture}

\end{document}