I'm creating a picture through tikz package. It shows a eight spoke wagon wheel at two different frames. How can I add the legend __ Frame 1 and ....Frame 2?
When I try to use \addlegendentry it gives me an error. Thanks in advance
\documentclass[10pt,a4paper]{report}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=3]
\draw (0,0) circle (1cm);
\draw (0:1cm) -- (180:1cm);
\draw (45:1cm) -- (225:1cm);
\draw (90:1cm) -- (270:1cm);
\draw (135:1cm) -- (315:1cm);
\draw[dotted] (7.5:1cm) -- (187.5:1cm);
\draw[dotted] (52.5:1cm) -- (232.5:1cm);
\draw[dotted] (97.5:1cm) -- (277.5:1cm);
\draw[dotted] (142.5:1cm) -- (322.5:1cm);
\end{tikzpicture}
\end{document}

\addlegendentryis command from packagepgfplots. If I correctly understand, what you like to obtain, than you can do with adding a node with desired description (legend). can you proved a sketch, where you like to have legend and what it is in in. Or, can be this legend part of caption? – Zarko Sep 10 '16 at 14:23___ Frame 1 .... Frame 2
– Alex Sep 10 '16 at 14:43