I'm trying to reproduce the following Venn diagrams in TikZ:
Venn diagram for 4 sets:
Venn diagram for 5 sets:
Venn diagram for 6 sets:
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityI don't know what it should look like (I'm colorblind so everything looks OK to me) but here is the second one. Ifyour viewer can handle it play with the blend mode
parameter for different effects.
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}[mys/.style={pink!80,fill opacity=0.5,draw=black }]
\begin{scope}[transparency group]
\begin{scope}%[blend mode=hue]
\fill[mys] ( 90:.6) circle (1);
\fill[mys] (210:.6) circle (1);
\fill[mys] (330:.6) circle (1);
\draw[orange,line width=0.5cm,cap=round,opacity=.5] (330:.6) +(-1,0) arc (180:0:1);
\draw[yellow!75!blue,line width=0.25cm,cap=round,opacity=.5]
(330:.6) +(-0.75,0) arc (180:0:0.75) arc(180:360:0.25) arc (0:180:1.25);
\end{scope}
\end{scope}
\end{tikzpicture}
\end{document}
why do I need these diagrams?
anddo these diagrams improve the ability of the reader to understand the material?