[metapost] Intersection of sets

Steve MC Han hmc0907 at yahoo.com
Sat Oct 31 16:49:56 CET 2009


Hi,
 
I was wondering if you could answer this question.
 
To draw intersection of two sets, I tried this, but it didn't work.

beginfig(1)
u:=.5cm;
p1:= fullcircle scaled 4u shifted (.2u,0);
p2:= fullcircle scaled 6u shifted (3u,0);
fill buildcycle(p1,p2) withcolor (0,1,1);
draw p1;
draw p2;
label(btex $A$ etex, (-u,0));
label(btex $B$ etex, (3u,0));
endfig;
 
Could you experts tell me what's wrong?
 
Thanks in advance.
Steve


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20091031/70824c01/attachment.html>


More information about the metapost mailing list