MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Specifying fill color for a bounded 2D region

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37782] Specifying fill color for a bounded 2D region
  • From: "Steven T. Hatton" <hattons at globalsymmetry.com>
  • Date: Wed, 13 Nov 2002 01:10:43 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

This is a long-standing issue for me.  I would like to be able to specify a 
particular bound region of a graph and determine what collor to fill the 
region with.  The InequalityGraphics does almost what I want.  If I could 
specify the color with which to fill each region of the graph produced by 
code such as this example from the help browser I would have my solution:

\!\(\(InequalityPlot[\ 
      Xor[\ \((x + 1\/2)\)\^2 + \ y\^2 <= 1, \ \((x - 1\/2)\)\^2 + \ y\^2 <= 
          1], \ {x}, \ {y}\ ];\)\)

This seems like it should be a no-brainer, but I have yet to find a solution 
to this.  Does anybody know of a way to accomplish such a thing?  All I want 
to do is produce a Ven diagram using the traditional circles found in 
textbooks, and fill the different regions with unique colors.
-- 
STH
Hatton's Law: 
"There is only One inviolable Law."



  • Prev by Date: Re: MathLink under Mac OS X
  • Next by Date: Polynomials modulo p
  • Previous by thread: Scaled PostScript output without margins
  • Next by thread: RE: Specifying fill color for a bounded 2D region