1

I have two questions:

  • How can I place the node midway,above the arc?
  • in the arc the end of the arrow is black instead of orange, how can I set the color of the spike?

This is the latex code.

\begin{tikzpicture}[auto, node distance=3cm,>=latex', scale=0.4 ,every
node/.style={transform shape}]
    % Draw axes
    \draw[->] (xyz cs:x=-5) -- (xyz cs:x=5) node[above] {$y$};
    \draw[->] (xyz cs:y=-5) -- (xyz cs:y=5) node[right] {$x$};
    \foreach \a in {20, 140, 250}
        \draw[draw=blue] (0, 0) -- (\a:4.5);

    \draw[draw=orange,->] (0,1) arc (90:20:1cm) node[midway,above]{$\theta$}; 
\end{tikzpicture}
Mokus
  • 633
  • 1
  • 5
  • 14

0 Answers0