凹陷的阴谋

凹陷的阴谋

请考虑以下代码

\draw [domain=0:10, smooth,ultra thick,yscale=100] plot (\x,{(\x^2)*(0.2*(1-0.33*\x+0.3*\x^(2))*e^(-2*\x/3))^2});

最后一段剧情不顺畅,有凹痕,该如何解决?

答案1

\documentclass[tikz, border=1cm]{standalone}
\usetikzlibrary{fpu} 
\begin{document}
\begin{tikzpicture}
\pgfkeys{/pgf/fpu, /pgf/fpu/output format=fixed}
\draw[domain=0:10, smooth, ultra thick, yscale=100] plot (\x,{(\x^2)*(0.2*(1-0.33*\x+0.3*\x^(2))*e^(-2*\x/3))^2});
\end{tikzpicture}
\end{document}

平滑的钟形曲线

相关内容