33 lines
934 B
TeX
33 lines
934 B
TeX
|
|
||
|
\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[ForestGreen] \universe;
|
||
|
\begin{scope}
|
||
|
\clip \cone;
|
||
|
\fill[red] \universe;
|
||
|
\end{scope}
|
||
|
\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}
|