【发布时间】:2021-10-17 15:38:00
【问题描述】:
我正在创建一个具有多个具有不透明度和方向的圆柱体的节点。我希望图像看起来类似于图像中所示:
具体来说,我需要像靶心一样管理圆形方向,以便将文本放置在圆形中。 任何建议如何创建像这样“非常相似”的图像。
我的最小代码示例
%===============
\documentclass[tikz,border=2pt]{standalone}
\usetikzlibrary{shapes.geometric}
\begin{document}
\begin{tikzpicture}
\node (n1) [cylinder, shape border rotate=180, draw, minimum height=20mm, minimum width=8.5mm,fill=blue!20,opacity=.5,rotate=18] {};
\node (n2) [cylinder, shape border rotate=180, draw, minimum height=18mm, minimum width=6.5mm,fill=blue!30,opacity=.5,rotate=18] {};
\node (n3) [cylinder, shape border rotate=180, draw, minimum height=16mm, minimum width=4.5mm,fill=purple!30,opacity=.5,rotate=18] {};
\end{tikzpicture}
\end{document}
%===============
【问题讨论】: