Why are the vertical tick marks different sizes for these two number lines if the y-scale is 1.8 for the first number line but the x- and y-scales are both 1.8 for the second?
Code: Select all
\documentclass[12pt]{article}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[xscale=3][yscale=1.8]
\draw[-latex] (0,0)--(2,0);
\foreach \x in {0,...,6}
\draw (\x/3,-0.1)--(\x/3,0.1);
\foreach \x in {0,...,2}
\node[below] at (\x,-0.15) {\x};
\end{tikzpicture}
\vspace{3cm}
\begin{tikzpicture}[scale=1.8]
\draw[-latex] (0,0)--(4.5,0) ;
\foreach \x in {0,...,12}
\draw (\x/3,-0.1)--(\x/3,0.1);
\foreach \x in {0,...,4}
\node[below] at (\x,-0.15) {\x};
\end{tikzpicture}
\end{document}