![使用 TiKZ 制作音乐图表](https://linux22.com/image/443477/%E4%BD%BF%E7%94%A8%20TiKZ%20%E5%88%B6%E4%BD%9C%E9%9F%B3%E4%B9%90%E5%9B%BE%E8%A1%A8.png)
答案1
tikz
这是重新创建图表的起点只看,角度不准确。红色区域的填充相当手动,粗黑线掩盖了边缘实际上不是圆弧的事实。
\documentclass[border=20pt, tikz]{standalone}
\usetikzlibrary{calc}
\usetikzlibrary{backgrounds}
\begin{document}
\begin{tikzpicture}
\foreach \i/\l in {0/C, 1/G, 2/D, 3/A, 4/E, 5/BC\(^\flat\), 6/G\(^\flat\)F, 7/D\(^\flat\), 8/A\(^\flat\), 9/E\(^\flat\), 10/B\(^\flat\), 11/F, 12/C} {
\coordinate (\i) at ({-360*(1/11.5)*\i+90}:2+\i/20);
\ifnum \i=0
\node[left] at ({-360*(1/11.5)*\i+90}:2+\i/20) {\l};
\else
\node at ({-360*(1/11.5)*\i+90}:2.2+\i/20) {\l};
\fi
\draw[lightgray] (0, 0) -- (\i);
\ifnum \i<12
\draw[very thick] ({-360*(1/11.5)*\i+90}:2+\i/20) to[bend left=12] ({-360*(1/11.5)*(\i+1)+90}:{2+(\i+1)/20});
\fi
}
\begin{scope}[on background layer]
\fill[red] (0, 0) -- ($(0) + (0, 0.58)$) arc(90:74.5:2.57) (12) -- cycle;
\end{scope}
\end{tikzpicture}
\end{document}