I want to plot the area of the curve below from x=-3 to x=0.32, but nothing I'm doing is working. Here's what I currently have:
\newcommand\gauss[2]{1/(#2*sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))}
\begin{tikzpicture}
\begin{axis}[axis lines=left, xmax=3, xmin=-3,ymax=1.5, xtick={0}, yticklabels={},ytick style={draw=none}, ytick={0}, xticklabel={$\mu = 0$}, scale = 0.9, black]
\addplot+[][thick, black, no markers,samples=300, name path = A] {exp(-x^2)}
\closedcycle;
\path[name path=xaxis]
;
coordinates {(-3, 0), (0.32, 0)};
\end{axis}
\end{tikzpicture}
\documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.17} \usetikzlibrary{fillbetween}
.