Dustinsfl
- 2,217
- 5
Code:
\begin{tikzpicture}
\draw (0,0) circle (1cm);
\end{tikzpicture}
How do I add directional arrows going counterclockwise on the circle?
This discussion focuses on adding directional arrows to circles using TikZ in LaTeX. Users can create counterclockwise arrows by utilizing the arc command with specified start and end angles, as demonstrated in the provided code snippets. The discussion highlights the importance of the starting coordinate for the arc and offers alternatives for clockwise arrows and artistic designs. The use of qualifiers such as "->" for arrows and "ultra thick" for line thickness is emphasized for visual clarity.
PREREQUISITESThis discussion is beneficial for LaTeX users, graphic designers, and educators looking to enhance their visual presentations with directional arrows in diagrams.
\begin{tikzpicture}
\draw (0,0) circle (1cm);
\end{tikzpicture}
\begin{tikzpicture}
\draw (0,0) circle (1cm);
\draw[->, blue, thick] (1.2cm, 0) arc [radius = 1.2cm, start angle= 0, end angle= 70];
\end{tikzpicture}
\begin{tikzpicture}
\draw (0,0) circle (1cm);
\draw[->, blue, thick] (1.2cm, 0) arc [radius = 1.2cm, start angle= 0, end angle= -70];
\end{tikzpicture}
\begin{tikzpicture}
\draw (0,0) circle (1cm);
\draw[->] (1cm, 0) arc [radius = 1cm, start angle= 0, end angle= 70];
\end{tikzpicture}
\begin{tikzpicture}
\draw (0,0) circle (1cm);
\foreach \x in {0.2,0.4,...,4.0} \draw[->, ultra thick, red] (\x + 1, 0) arc [radius = \x + 1, start angle= 0, end angle= 70 + \x * 45];
\end{tikzpicture}