This question has me stumped, and I was wondering if anyone has an elegant solution. How can I draw a partitioned set in LaTex using Tikz so that it looks similar to the following diagram? Thanks in advance!

enter image description here

  • 1
    Welcome to TSE. What did you try? Sep 10, 2022 at 16:49
  • Maybe this or this can get you started … Sep 10, 2022 at 18:00
  • Do the yellow curves have to be of different line width? Other than that, all I see is an ellipse with some possibly clipped curves. Do the partitions need to follow any rules? Sep 10, 2022 at 18:27
  • Thanks for the response. I am trying to learn how to clip and make curves. I am ok with lines I was having a difficult time finding literature for partitioning an object. No rules, just partitioning at random.
    – James Burk
    Sep 10, 2022 at 22:36

1 Answer 1


a not perfect proposal that can be a start


            \node [draw,ellipse,minimum width=8cm,minimum height=3cm,thick](ell) at (0,0){};
            \draw[orange,ultra thick] (ell.150) to [out=-90, in=70]  coordinate[pos=0.35](p1)(ell.220);
            \draw[orange,ultra thick] (p1) to [out=10, in=100] (ell.310) coordinate[pos=0.55](p2);
            \draw[orange,ultra thick] (p2) to [out=45, in=-90] (ell.60) coordinate[pos=0.6](p3);

enter image description here

  • If you add outer sep=-.5\pgflinewidth the border anchors .150, .310 and .60 lie on the inside of the ellipse's path. Move the coordinate definition of p2 before the target coordinate as in your first \draw command. and the third line would start neatly at the second line. (Same for p3 but you don't use that anyway.) Sep 11, 2022 at 11:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .