From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25419 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Venn diagram Date: Thu, 19 Jan 2006 21:08:33 -0800 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1137733916 5795 80.91.229.2 (20 Jan 2006 05:11:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2006 05:11:56 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 20 06:11:53 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EzoYp-0005n4-N9 for gctc-ntg-context-518@m.gmane.org; Fri, 20 Jan 2006 06:11:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 480BF12831; Fri, 20 Jan 2006 06:11:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15074-03; Fri, 20 Jan 2006 06:11:43 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DE2E612823; Fri, 20 Jan 2006 06:09:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 22E9512823 for ; Fri, 20 Jan 2006 06:09:54 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15069-02 for ; Fri, 20 Jan 2006 06:09:53 +0100 (CET) Original-Received: from fed1rmmtao06.cox.net (fed1rmmtao06.cox.net [68.230.241.33]) by ronja.ntg.nl (Postfix) with SMTP id 953F81280B for ; Fri, 20 Jan 2006 06:09:49 +0100 (CET) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao06.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060120050702.CIBM20050.fed1rmmtao06.cox.net@[10.0.1.2]> for ; Fri, 20 Jan 2006 00:07:02 -0500 Original-To: Context Mailing List List X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25419 Archived-At: All, I have: \startMPpage %figure library name: intersection %initialize scale numeric u; 10u=3in; %ellipses path A, B; A:=fullcircle xyscaled (4u,3u); B:=A shifted (2u,0); draw A withcolor red; label.ulft(btex $A$ etex, point 3 of A) withcolor red; draw B withcolor blue; label.urt(btex $B$ etex, point 1 of B) withcolor blue; %bounding box draw bbox currentpicture enlarged (0.5u,0.5u); \stopMPpage I need an easy way of shading these areas: 1. A intersect B 2. A union B 3. A intersect (complement of B) 4. (complement of A) intersect B Thanks