\input{preamble-standalone.ltx} \begin{document} % Ex. No. 7 (Section 5.1.1 : Changing the drawing size with \tkzcname{tkzInit}) \begin{tikzpicture} \tkzInit[xmax=8,ymax=6] \tkzGrid \tkzAxeXY \draw[blue](-1,0)--(6,7); \end{tikzpicture} \end{document}