MathGroup Archive 2012

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

Search the Archive

Region Plot with more than two functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124474] Region Plot with more than two functions
  • From: Gabriel Landi <gtlandi at gmail.com>
  • Date: Sat, 21 Jan 2012 05:13:09 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Dear Group,

Consider the following two examples from the RegionPlot documentation 
(Under PlotStyle):

p1=RegionPlot[(x + 1)^2 + y^2 < 2 || (x - 1)^2 + y^2 < 2, {x, -3, 3}, 
{y, -3, 3}]

p2 = RegionPlot[{(x + 1)^2 + y^2 < 2, (x - 1)^2 + y^2 < 2}, {x, -3,
   3}, {y, -3, 3}]

At least in my system (Mac OS 10.7, Mathematica 8.0.1), the quality of 
the graphs are entirely different. Moreover, if I wrap them in a 
GraphicsGrid, p2 appears with it's mesh wheres p1 doesn't.

GraphicsGrid[{{p1}}]
GraphicsGrid[{{p2}}]

This seems like a problem with Opacity, for if I insert

PlotStyle -> Lighter[ColorData[1, "ColorList"], 0.75]

into p2, the problem is solved.

Is this a bug, or am I missing something?

Thanks in advance,

Gabriel



  • Prev by Date: Re: Vectors
  • Next by Date: FindRoot and parameters in NIntegrate
  • Previous by thread: Re: using units with FindRoot
  • Next by thread: FindRoot and parameters in NIntegrate