Tikz 维恩图 - 椭圆样式

Tikz 维恩图 - 椭圆样式

我是 TiKz 的新手,我希望得到您的帮助,了解如何绘制下面的图像。

您是否知道我可以使用的一些类似代码,以便重现这样的图像?

我找到了这样的主题,带有similar代码,但使用了圆圈。我尝试使用椭圆来实现这一点,但不幸的是没有成功:

重叠区域带有自定义颜色的维恩图

在此处输入图片描述

答案1

一些手工制作的东西,你可以用它作为起点......

\documentclass[border=5]{standalone}

\usepackage{tikz}
\usetikzlibrary{shapes,snakes,backgrounds,arrows}

\begin{document}

    \begin{tikzpicture}
        \node [draw, circle, thick, blue, fill=blue!20, minimum size=2cm, align=center] at   (0,0)   {Data\\\\};
        \node [draw, circle, thick, red,  fill=red!20, minimum size=2cm, align=center] at    (2,0)   {Domain\\\\};
        \node [draw, circle, thick, brown,fill=brown!20, minimum size=2cm, align=center] at (1,-1.75){\\\\Thinking};

        \node [circle, minimum size=2.1cm, fill=white, opacity=.7, align=center] at (1,-.8){Data\\Science};

        \node [draw, ellipse, thick, dash dot, rotate=30, brown, minimum width=7cm, minimum height=5cm, align=center] at   (2,0)   {};
        \node [align=center, brown!70!black] at (4.5,1.2){Sociology};

        \node [draw, ellipse, thick, dash dot, rotate=90, green!50!black, minimum width=7cm, minimum height=4.4cm, align=center] at   (1,.6)   {};
        \node [align=center, green!50!black] at (1,3.4){Communication};

        \node [draw, ellipse, thick, loosely dashed, rotate=90, green!70!black, minimum width=6cm, minimum height=5cm, align=center] at   (1,-1.3)   {};
        \node [align=center, green!70!black] at (1,-4){Statistics};

        \node [draw, ellipse, thick, loosely dash dot, rotate=150, brown!50!black, minimum width=7cm, minimum height=5cm, align=center] at   (0,0)   {};
        \node [align=center, brown!50!black] at (-2.2,1.2){Management};

        \node [draw, ellipse, thick, densely dashed, rotate=30, blue, minimum width=7cm, minimum height=4.4cm, align=center] at   (0,-1.2)   {};
        \node [align=center, blue] at (-2.2,-2.6){Informatics};

        \node [draw, ellipse, thick, loosely dashed, rotate=150, blue!50!white, minimum width=7cm, minimum height=4.4cm, align=center] at   (2.0,-1.2)   {};
        \node [align=center, blue!50!white] at (4.2,-2.6){Computing};

    \end{tikzpicture}

\end{document}

在此处输入图片描述

相关内容