- Thread starter
- #1
\usetikzlibrary{arrows,decorations.markings}
\begin{tikzpicture}[>=stealth']
\newcommand\delt{1.5}
\newcommand\R{2}
\draw[->] (-3,0) -- (3,0);
\draw[->] (0,-1) -- (0,3);
\node[below] at (\R,0) {$R$};
\node[below] at (\delt,0) {$\delta$};
\draw[
thick,
decoration={
markings,
mark=at position 2cm with {\arrow{>}},
mark=at position 8cm with {\arrow{>}}},
postaction={decorate}]
(\R,0) arc[start angle=0,end angle=180,radius=\R] --
(-\delt,0) arc[start angle=180,end angle=0,radius=\delt] -- cycle;
\end{tikzpicture}
What can I change to make the annulus wider?Like this?
![]()
Code:\usetikzlibrary{arrows,decorations.markings} \begin{tikzpicture}[>=stealth'] \newcommand\delt{1.5} \newcommand\R{2} \draw[->] (-3,0) -- (3,0); \draw[->] (0,-1) -- (0,3); \node[below] at (\R,0) {$R$}; \node[below] at (\delt,0) {$\delta$}; \draw[ thick, decoration={ markings, mark=at position 2cm with {\arrow{>}}, mark=at position 8cm with {\arrow{>}}}, postaction={decorate}] (\R,0) arc[start angle=0,end angle=180,radius=\R] -- (-\delt,0) arc[start angle=180,end angle=0,radius=\delt] -- cycle; \end{tikzpicture}