The labels -1 and 1 in the following (TikZ)-code are under the line of the unit circle:
\draw (-1.5,0) -- (1.5,0);
\draw (1,0) arc(0:360:1);
\foreach \i [count=\j] in {-1,1}
{\draw (\i,0) coordinate (x\j) edge ++(0,2pt) -- ++(0,-2pt) node [below=5pt, anchor=mid, font=\scriptsize] {\i};}
How can I correct that? Thank you!
anchor=90+\i*45
instead ofanchor=mid
– percusse Aug 22 '16 at 20:18