I do not know that my problem is but the axis of my graphs do not go through the origin. I've read this answer but it does not work for me.
Here is a MWE:
\documentclass{article}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[ axis lines=middle]
\addplot {x^2+20};
\end{axis}
\end{tikzpicture}
\end{document}
Maybe you can tell me what is wrong.


\addplot {x^2+20};. So is you question how to change the range of the y-axis? – MS-SPO Mar 12 '24 at 08:56\addplot{x^2};... – MS-SPO Mar 12 '24 at 09:00ymin=0in the axis option – NBur Mar 12 '24 at 09:01