3

Source: tikz manual on bu.edu enter image description here

What does \draw (60:5pt) indicate?

Jaxx
  • 133
  • 3
    5pt from the origin at 60 degrees of direction. –  Feb 21 '21 at 04:59
  • 3
    it is polar coordinate: 60 indicates the polar angle, 5pt indicate the polar radius. The update PGFmanual is here https://www.ctan.org/pkg/pgf – Black Mild Feb 21 '21 at 05:07
  • 1
    @Jaxx hopefully the answer below will clarify -- moving at 30 degrees or 45 degrees would coincide the smaller arc with the bigger arc -- also note the shift syntax which clarifies the movement at an angle -- note also the bigger arc has been drawn with one definition of arc(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

1 Answers1

2

enter image description here

\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