Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8048

Region Plot with more than two functions

From Gabriel Landi <gtlandi@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Region Plot with more than two functions
Date 2012-01-21 10:14 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jfe35h$9qf$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Region Plot with more than two functions Gabriel Landi <gtlandi@gmail.com> - 2012-01-21 10:14 +0000

csiph-web