Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

1 Answer 1

Some improvements to add colors are necessary.

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

enter image description here

share|improve this answer

Your Answer

 
discard

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.