我需要帮助来了解如何填充以下形状 RO1、RO2、RO4、RO5 之间的交点。非常感谢您的帮助。
\documentclass[border=5]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes}
\begin{document}
\begin{tikzpicture}
\node [draw, ellipse, thick, rotate=90, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (0,0.7)(RO1){};
\node [draw, ellipse, thick, rotate=24, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (0.2,-0.5)(RO2){};
\node [draw, ellipse, thick, rotate=162, green!50!black, minimum width=8cm, minimum height=4.4cm, align=center] at (-0.7,0.5)(RO5){};
\node [draw, ellipse, thick, rotate=235, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (-1.33,-0.7)(RO4){};
\node [draw, ellipse, thick, rotate=130, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center] at (-0.1,-1.5)(RO3){};
\end{tikzpicture}
\end{document}
答案1
我没有时间解释我是如何做到的,因为我得去吃午饭(抱歉)。
请注意,我没有尝试寻找非常困难和复杂的节点交点,而是将省略号重写为路径。
如果您愿意的话我稍后会解释。
\documentclass[border=5]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes,intersections}
\begin{document}
\begin{tikzpicture}
\def\plan{(-5,-5.5)rectangle(5,6)}
\def\ellipseone{(0,0.7) circle [x radius=4.5cm, y radius=22mm, rotate=90]}
\def\ellipsetwo{(0.2,-0.5) circle [x radius=4.5cm, y radius=22mm, rotate=24]}
\def\ellipsethree{(-0.1,-1.5)circle [x radius=4.5cm, y radius=22mm, rotate=130]}
\def\ellipsefour{(-1.33,-0.7) circle [x radius=4.5cm, y radius=22mm, rotate=235]}
\def\ellipsefive{(-0.7,0.5) circle [x radius=4cm, y radius=22mm, rotate=162]}
%\node [draw, ellipse, thick, rotate=90, green!50!black, minimum width=9cm, minimum height=4.4cm, align=center,name path global=RO1] at (0,0.7)(RO1){};
%%\clip\plan;
\draw[green!50!black]\ellipseone;
\draw[green!50!black]\ellipsetwo;
\draw[green!50!black]\ellipsethree;
\draw[green!50!black]\ellipsefour;
\draw[green!50!black]\ellipsefive;
\clip\ellipsefour;
\clip\ellipsetwo;
\clip\ellipsefive;
\clip\ellipseone;
\fill[orange!80,even odd rule]\plan\ellipsethree;
\end{tikzpicture}
\end{document}