如何使用 Tikz 绘制这个???
答案1
含钛钾Z。
\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}
\draw circle[radius=4cm];
\foreach \X [count=\Y starting from 0] in {20,1,21,0,8,15,6,16,5,17,4,18,3,19,2}
{\path (0,0) -- (\Y*24:4) node[fill,circle,inner sep=1.8pt]{}
node[pos=1.1] {$\X$};}
\end{tikzpicture}
\end{document}
答案2
PSTricks 解决方案仅用于娱乐或比较目的。
\documentclass[pstricks]{standalone}
\usepackage{pst-plot}
\degrees[15]
\begin{document}
\begin{pspicture}(-3,-3)(3,3)
\curvepnodes[plotpoints=16]{0}{15 AnytoRad}{2*cos(t)|2*sin(t)}{A}
\pscircle{2}
\foreach \a [count=\i from 0] in {20,1,21,0,8,15,6,16,5,17,4,18,3,19,2}
{
\qdisk(A\i){2pt}
\uput{2mm}[!dt RadtoAny \i\space mul](A\i){$\a$}
}
\end{pspicture}
\end{document}
答案3
稍微简短一些的 PSTricks 版本。运行xelatex
\documentclass[pstricks]{standalone}
\usepackage{pst-plot}
\begin{document}
\begin{pspicture}(-3,-3)(3,3)
\degrees[15]
\pscircle{2}
\foreach \a [count=\i from 0] in {20,1,21,0,8,15,6,16,5,17,4,18,3,19,2}
{%
\qdisk(2;\i){2pt}\uput{2mm}[\i](2;\i){\a}
}
\end{pspicture}
\end{document}