I am creating a document for a colleague about Real Numbers and I have worked on the a Venn diagram for Real Numbers System. I found a code from this post to fill the halfs of the ellipse with different colors.
But here is my problem, whenever I try to place the circles or the math symbols, the figure get messy and the other figures just misplace the original position. I do not know whether there is something in the preamble that I could get rid off and solve the issue or something is missing in the code.
I will appreciate if you help me with this. Thanks in advance.
\documentclass[tikz]{standalone}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage[backgrounds]{tikz}
\makeatletter
\def\tikz@arc@opt[#1]{% over-write!
{%
\tikzset{every arc/.try,#1}%
\pgfkeysgetvalue{/tikz/start angle}\tikz@s
\pgfkeysgetvalue{/tikz/end angle}\tikz@e
\pgfkeysgetvalue{/tikz/delta angle}\tikz@d
\ifx\tikz@s\pgfutil@empty%
\pgfmathsetmacro\tikz@s{\tikz@e-\tikz@d}
\else
\ifx\tikz@e\pgfutil@empty%
\pgfmathsetmacro\tikz@e{\tikz@s+\tikz@d}
\fi%
\fi
\tikz@arc@moveto
\xdef\pgf@marshal{\noexpand%
\tikz@do@arc{\tikz@s}{\tikz@e}
{\pgfkeysvalueof{/tikz/x radius}}
{\pgfkeysvalueof{/tikz/y radius}}}%
}%
\pgf@marshal%
\tikz@arcfinal%
}
\let\tikz@arc@moveto\relax
\def\tikz@arc@movetolineto#1{%
\def\tikz@arc@moveto{\tikz@@@parse@polar{\tikz@arc@@movetolineto#1}(\tikz@s:\pgfkeysvalueof{/tikz/x radius} and \pgfkeysvalueof{/tikz/y radius})}}
\def\tikz@arc@@movetolineto#1#2{#1{\pgfpointadd{#2}{\tikz@last@position@saved}}}
\tikzset{%
move to start/.code=\tikz@arc@movetolineto\pgfpathmoveto,%
line to start/.code=\tikz@arc@movetolineto\pgfpathlineto}
\makeatother
\begin{document}
\begin{center}
\begin{tikzpicture}[x radius=7cm, y radius=4cm, white, ultra thick]
\centering
\draw[fill=blue] (C) arc [line to start, start angle=90, delta angle=-180] -- cycle;
\draw[fill=blue!70] (C) arc [line to start, start angle=90, delta angle=180] -- cycle;
\draw[white, fill=blue!55, ultra thick] (-3,0.25) circle [radius=2.75];
\draw[white, fill=blue!45, ultra thick] (-2.5,-1) circle [radius=1.75];
\node at (1,4.5){\huge $\mathbb{R}$};
\node[white] at (-0.75,2.5){\huge $\mathbb{Q}$};
\node[white] at (3.75,0.25){\huge $\mathbb{I}$};
\node[white] at (-2.25,2){\huge $\mathbb{Z}$};
\node[white] at (-2.25,-0.75){\huge $\mathbb{N}$};
\end{tikzpicture}
\end{center}
\end{document}
UPDATE
I've attempted another way with this simple code
\documentclass[tikz]{standalone}
\usepackage{amssymb}
\usepackage{xcolor}
\begin{document}
\begin{tikzpicture}
\draw[white, fill=blue!75, very thick] (1,0) circle [x radius=7cm, y radius=4cm];
\draw[white, fill=blue!55, ultra thick] (-2.25,0) circle [radius=2.75];
\draw[white, fill=blue!45, ultra thick] (-2.25,-0.75) circle [radius=1.75];
\draw[ultra thick, white] (1,-4)--(1,4);
\node[blue] at (1,4.5){\Huge $\mathbb{R}$};
\node[white] at (0,3){\Huge $\mathbb{Q}$};
\node[white] at (4,0){\Huge $\mathbb{I}$};
\node[white] at (-2.25,2){\Huge $\mathbb{Z}$};
\node[white] at (-2.25,-0.75){\Huge $\mathbb{N}$};
\end{tikzpicture}
\end{document}
However, I still do not figure out how to color both parts of the ellipse.


