如何制作精确度图形

如何制作精确度图形

我怎样才能制作这样的图形: 在此处输入图片描述

答案1

将此视为“欢迎来到 TeX.SE!”的礼物。

\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}[font=\sffamily]
\draw[latex-latex,thick](0,-9) -- node[midway,sloped,above] {Increasing precision}
(0,0) -- node[midway,sloped,above] {Increasing accuracy} (9,0);
%
\begin{scope}[shift={(2.5,-2.25)}]
 \foreach \X in {0.25,0.75,1.25,1.75}
 {\draw (0,0) circle (\X);}
 \node[anchor=north] at (-90:1.8) {(a)};
 \foreach \X in {1,...,12}
  \fill (-1,1) + (rand*360:rand*1) circle(2pt);
\end{scope}
%
\begin{scope}[shift={(7.5,-2.25)}]
 \foreach \X in {0.25,0.75,1.25,1.75}
 {\draw (0,0) circle (\X);}
 \node[anchor=north] at (-90:1.8) {(b)};
 \foreach \X in {1,...,12}
  \fill  (rand*360:rand*1) circle(2pt);
\end{scope}
%
\begin{scope}[shift={(2.5,-7)}]
 \foreach \X in {0.25,0.75,1.25,1.75}
 {\draw (0,0) circle (\X);}
 \node[anchor=north] at (-90:1.8) {(c)};
 \foreach \X in {1,...,12}
  \fill (-1,1) + (rand*360:rand*0.5) circle(2pt);
\end{scope}
%
\begin{scope}[shift={(7.5,-7)}]
 \foreach \X in {0.25,0.75,1.25,1.75}
 {\draw (0,0) circle (\X);}
 \node[anchor=north] at (-90:1.8) {(d)};
 \foreach \X in {1,...,12}
  \fill  (rand*360:rand*0.5) circle(2pt);
\end{scope}
\end{tikzpicture}
\end{document}

在此处输入图片描述

相关内容