TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to create a graphic of a set partitioned into subsets of various sizes/shapes/colors. (I'm trying to show a set partitioned by an equivalence relation into disjoint subsets, i.e., the equivalence classes).

I was hoping to find something on http://www.texample.net to give me an idea of a good method, but I'm having trouble finding any examples. Does anyone have any suggestions?

share|improve this question
Welcome to TeX.sx! You don't have to sign with your name since it automatically appears in the lower right corner of your post. – yo' Jan 11 '13 at 18:13
If you only want a shape divided in some way, why not to draw a simple circle with radial cuts? – Sigur Jan 11 '13 at 18:24

Some improvements to add colors are necessary.

\draw[clip] (0,0) circle (3cm);
\foreach \a in {20,60,120,180,230,250,310}
\draw (-1,.5) -- (\a:4cm);

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.