答案1
快速而粗略地pgfplots
绘制 cos(x)+随机数与 sin(x)+随机数的关系。
\documentclass[border=5mm]{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
cycle list={
only marks,mark=*,fill=red,draw=black,mark size=1pt\\
only marks,mark=*,fill=cyan,draw=black,mark size=1pt\\
},
domain=0:360,
samples=500,
title={N=500,\dots},
grid,
axis equal
]
\addplot ({(0.5+0.07*rand)*cos(x)},{(0.5+0.07*rand)*sin(x)});
\addplot ({(1+0.1*rand)*cos(x)},{(1+0.1*rand)*sin(x)});
\end{axis}
\end{tikzpicture}
\end{document}