I tried replicating this colour once (not very hard) and decided it
was too hard :) It's not exactly a shade of blue, although it's too
far from Nest[Lighter,Blue,4]:
Show@{RegionPlot[x < 0.5, {x, 0, 1}, {y, 0, 1}],
RegionPlot[x > 0.5, {x, 0, 1}, {y, 0, 1},
PlotStyle -> Nest[Lighter, Blue, 4]]}
Which is, now that I look at it, the same as {Opacity[0.2],Blue}:
Show@{RegionPlot[x < 0.33, {x, 0, 1}, {y, 0, 1}],
RegionPlot[0.33 < x < 0.66, {x, 0, 1}, {y, 0, 1},
PlotStyle -> {Opacity[0.2], Blue}],
RegionPlot[x > 0.66, {x, 0, 1}, {y, 0, 1},
PlotStyle -> Nest[Lighter, Blue, 4]]}
Usually I just apply my own colours :) but it would be nice to know
exactly which ones Mathematica uses. I suppose it wouldn't be hard just to
figure it out by inspecting the plot that get drawn by default and
extracting the colour information.
By the way, on the offchance you're outputting EPS graphics, this
would be a convenient time to shamelessly plug my "FakeRegionPlot"
package:
<http://library.wolfram.com/infocenter/MathSource/7074/>
Cheers,
Will
clr = Cases[rp, RGBColor[__], Infinity][[1]]
Graphics[{clr, Rectangle[{0, 0}]}]
Bob Hanlon
---- None None <worm...@yahoo.com> wrote:
> Dear Sir
>
> Mathematica 6 produces a region and fills it with default color in "RegionPlot" (drawing 2D inequality). I wish to use the color elsewhere in graphics applications. I could not recognize the color and the scheme associated with it. kindly guide me on locating this color among mathematica 6 color schemes.
>
> Kind regards
>
>
I evaluated a "RegionPlot" command, and then applied "FullForm" to the
output. From that, it seems that the color you're looking for is given in the
RGB colorscale as: RGBColor[0.798413061722744`, 0.824719615472648`,
0.968322270542458`].
Hope that helps!
C.O.
On Monday 07 April 2008 03:19:06 None None wrote:
> Dear Sir
>
> Mathematica 6 produces a region and fills it with default color in
> "RegionPlot" (drawing 2D inequality). I wish to use the color elsewhere in
> graphics applications. I could not recognize the color and the scheme
> associated with it. kindly guide me on locating this color among
> mathematica 6 color schemes.
>
> Kind regards
--
==========================================================
Curtis Osterhoudt
cfo@remove_this.lanl.and_this.gov
PGP Key ID: 0x4DCA2A10
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================================================
The color they use is
RGBColor[0.798413061722744`, 0.824719615472648`, 0.968322270542458`]
although I'm not sure if this comes from some pre-defined palette or
what. It doesn't appear to be in any of the indexed color palettes.
-Daniel