From: David Arnold <dwarnold45@cox.net>
Subject: Venn diagram
Date: Thu, 19 Jan 2006 21:08:33 -0800 [thread overview]
Message-ID: <C423E7A7-AB6E-4A90-BF24-CCED1E41D5B2@cox.net> (raw)
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
next reply other threads:[~2006-01-20 5:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-20 5:08 David Arnold [this message]
2006-01-20 5:49 ` Aditya Mahajan
2006-01-20 18:22 ` Mojca Miklavec
2006-01-20 20:23 ` Hans Hagen
2006-01-20 23:33 ` Mojca Miklavec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C423E7A7-AB6E-4A90-BF24-CCED1E41D5B2@cox.net \
--to=dwarnold45@cox.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).