I have a quick TikZ formatting question. The following code puts the angle where I want it just fine. But I have to set coordinates for (A), (B), and (C).
Code: Select all
\usetikzlibrary{angles, quotes}
\begin{tikzpicture}
\coordinate (A) at (0,3.5);
\coordinate (B) at (0,1);
\coordinate (C) at (-0.48,2.93);
\draw [dashed] (A) -- (B) -- (C);
\path pic[angle radius=2cm,"$\theta$"] {angle = A--B--C};
\end{tikzpicture}
Is it possible to replace the path line using the actual coordinates without defining them? ie. Can I somehow substitute angle = A--B--C with angle = (0,3.5)--(0,1)--(-0.48,2.93)?
Thanks!
-Dan