绘制同心圆弧

绘制同心圆弧

我正在尝试绘制一些同心圆弧。我以为只需将圆弧半径减小与坐标减小相同的量即可,但看起来不太对。有什么建议吗?

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.shapes}
\tikzset{decorate sep/.style 2 args=
{decorate,decoration={shape backgrounds,shape=circle,shape size=#1,shape sep=#2}}}
\begin{document}
\begin{center}
\begin{tikzpicture}

\draw[decorate sep={1mm}{1.2mm},fill,red] (0,0) arc (70:110:1);
\draw[decorate sep={1mm}{1.2mm},fill,red] (0,-.2) arc (70:110:.8);
\draw[decorate sep={1mm}{1.2mm},fill,red] (0,-.4) arc (70:110:.6);


\end{tikzpicture}
\end{center}
\end{document}

答案1

您可以使用极坐标作为起点,以确保这些是同心圆弧。

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.shapes}
\tikzset{decorate sep/.style 2 args=
{decorate,decoration={shape backgrounds,shape=circle,shape size=#1,shape sep=#2}}}
\begin{document}
\begin{center}
\begin{tikzpicture}

\draw[decorate sep={1mm}{1.2mm},fill,red] (70:1) arc (70:110:1);
\draw[decorate sep={1mm}{1.2mm},fill,red] (70:0.8) arc (70:110:.8);
\draw[decorate sep={1mm}{1.2mm},fill,red] (70:0.6) arc (70:110:.6);


\end{tikzpicture}
\end{center}
\end{document}

在此处输入图片描述

相关内容