Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass{standalone}
- \usepackage{tikz,tkz-euclide}
- \usetkzobj{all}
- \usetikzlibrary{decorations.markings}
- \begin{document}
- \begin{tikzpicture}
- \tkzDefPoint(0,0){O} \tkzDefPoint(3,0){A1} \tkzDefPoint(4,0){A2}
- \draw [ decoration={ markings,
- mark=at position 1 with {\arrow[scale=0.5]{triangle 90}}
- },
- postaction={decorate},
- line width=12pt,
- ](A2) -- (A1);
- \tkzDrawCircle[R,thick](O,2cm)
- \tkzDrawSector[R,draw=black,fill=blue](O,2cm)(-90,45)
- \tkzDrawSector[R,draw=black,fill=yellow](O,2cm)(45,90)
- \tkzDrawSector[R,draw=black,fill=red](O,2cm)(90,135)
- \tkzDrawSector[R,draw=black,fill=green](O,2cm)(135,225)
- \tkzDrawSector[R,draw=black,fill=purple!60!white](O,2cm)(225,270)
- \end{tikzpicture}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment