我正在使用Latex Beamer准备演示文稿。我决定包括一个地块。
中间曲线应该是正态分布;但它有尖锐的角落。为什么呢?
还可以删除y轴上的刻度线吗?
这是我的代码:
\begin{frame}
\begin{tikzpicture}
\begin{axis}[domain=-1:1]
\addplot+[no markers] {4*exp(-4*(x+1))};
\addplot+[no markers] {1/sqrt(2*pi*0.02)*exp(-(x^2)/(2*0.02))};
\addplot+[no markers] {4*exp(4*(x-1))};
\end{axis}
\end{tikzpicture}
\end{frame}
谢谢