MA0301/exercise9/diagrams/ex9_2.tex

30 lines
863 B
TeX
Raw Normal View History

2021-05-03 01:06:04 +02:00
\def\cone{(90:2cm) circle (2.5cm)}
\def\ctwo{(180:2cm) circle (2.5cm)}
\def\cthree{(270:2cm) circle (2.5cm)}
\def\cfour{(360:2cm) circle (2.5cm)}
\def\universe{(-5, -5) rectangle (5,5)}
\begin{tikzpicture}[scale=0.8]
\fill[white] \universe;
\fill[red] \cone;
\begin{scope}
\clip \ctwo;
\fill[white] \universe;
\end{scope}
\begin{scope}
\clip \cthree;
\fill[white] \universe;
\end{scope}
\begin{scope}
\clip \cfour;
\fill[white] \universe;
\end{scope}
\draw \cone node[text=black,above] {$c_1$};
\draw \ctwo node [text=black,left] {$c_2$};
\draw \cthree node [text=black,below] {$c_3$};
\draw \cfour node [text=black,right] {$c_4$};
\draw \universe;
\draw (0, 5) node [text=black,above] {$N$};
\end{tikzpicture}