答案1
在回答 pgfplots 之前,以下是如何免费获取图的方法
\documentclass[tikz]{standalone}
\pgfdeclarefunctionalshading{probability amplitude}{\pgfpoint{-25bp}{-25bp}}{\pgfpoint{25bp}{25bp}}{}{
% x y
dup mul exch % y² x
dup mul add % y²+x²
sqrt % r
dup 100 mul sin % r sin(100r)
exch div % sin(100r)/r
10 mul % 10sin(100r)/r
}
\begin{document}
\tikz\path[shading=probability amplitude](-10,-10)rectangle(10,10);
\end{document}