What does \draw (60:5pt) indicate?
Asked
Active
Viewed 75 times
1 Answers
2
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[help lines] (0,0) grid (4,3);
\draw blue{}--+(30:1cm) arc(30:90:1cm)--cycle;
\draw red--(90:1cm) arc(90:390:1cm)--cycle;
\end{tikzpicture}
\begin{tikzpicture}
\draw[help lines] (0,0) grid (4,3);
\draw blue{}--+(30:1cm) arc(30:90:1cm)--cycle;
\draw red--(90:1cm) arc(90:390:1cm)--cycle;
\end{tikzpicture}
\begin{tikzpicture}
\draw[help lines] (0,0) grid (4,3);
\draw blue{}--+(30:1cm) arc(30:90:1cm)--cycle;
\draw red--(90:1cm) arc(90:390:1cm)--cycle;
\end{tikzpicture}
\end{document}
js bibra
- 21,280


60indicates the polar angle,5ptindicate the polar radius. The update PGFmanual is here https://www.ctan.org/pkg/pgf – Black Mild Feb 21 '21 at 05:07shiftsyntax which clarifies the movement at an angle -- note also the bigger arc has been drawn with one definition ofarc(90:390:1cm)giving the same result -- the author has I believe split into two arcs to help visualize the big and small arc – js bibra Feb 22 '21 at 01:26