I'd like to use a pgfplots axis environment to render some plots. I'd like them to be aligned with the surrounding TiKz graphics. However, I have not yet managed to find the correct options. I'm also only interested in the plotted line itself, so no ticks or axes need to be drawn in addition. So far I have this (failed) example. My goal would be aligning the coordinate system the axis environment such that the two curves are right on top of each other. With the width/height I assumed I could set the exact dimensions, but that already seems to be off.
Is there a way to modify this axis-environment to match the coordinate system of the tikzpicture-environment?
\documentclass{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\begin{document}
\begin{tikzpicture}
\draw[lightgray] (-2, -3) grid (4, 4);
\fill[lightgray] (0,0) circle (0.2); % origin
\draw[green] plot [red, domain=-2:4, samples=200] (\x, {exp(-abs(\x)^2)});
\begin{axis}[
xtick=\empty,
ytick=\empty,
hide axis,
xmin=-2, xmax=4,
axis equal,
width=6cm,
height=7cm,
anchor=south west,
at={(-2cm,-2cm)},
]
\addplot [red, domain=-2:5, samples=200] (\x, {exp(-abs(\x)^2)});
\end{axis}
\end{tikzpicture}
\end{document}

