I need to change the ratio between the X and Y axes from 1:1 to 1:2, that is, I need the values on the y axis to go two by two and those on the x axis to remain the same. I need it because one of my graphs is too long on the y-axis.
Look at my code:
\begin{center}
\begin{tikzpicture}[scale=0.72]
\draw [->](-5,0) -- (5,0) node[below] {$x$};
\draw [->](0,-7) -- (0,5) node[right] {$y$};
\foreach \y in {-7,-5,-3,-1,1,3,5}
\draw (0,\y) -- (-0.1,\y) node[left,scale=0.7] {\y};
\foreach \x in {-5,-3,-1,1,3}
\draw (\x,0) -- (\x,-0.1) node[below,scale=0.7] {\x};
\clip (-5,-7) rectangle (5,5);
\draw[color=olive,thick, domain=-5:5,smooth, samples=29] plot (\x, {pow(\x,4)+4*pow(\x,3)});
\end{tikzpicture}
\end{center}