MathGroup Archive 2010

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

Search the Archive

Documentation on (Color) Blend

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111249] Documentation on (Color) Blend
  • From: telefunkenvf14 <rgorka at gmail.com>
  • Date: Sun, 25 Jul 2010 01:58:06 -0400 (EDT)

Group:

The documentation on Blend[], in the "Possible Issues" section,
contains the following example.

 ----------------
In plot functions, use ColorFunctionScaling to control global scaling
of variables:

Table[DensityPlot[x, {x, -2, 3}, {y, 0, 1}, FrameTicks -> None,
  ColorFunction -> (Blend[{Red, Green}, #] &),
  ColorFunctionScaling -> t], {t, {False, True}}]
 ----------------

I noticed that when I evaluate the code, the original output is not
reproduced. On my machine the new plots look exactly the same.
(Windows 7, 64-bit, Mathematica 7.0.1)

Can someone offer a fix? My goal is to generate a Green to White to
Red spectrum with a 'fuzzier' center; eventually I'll use this for
coloring a map.

-RG


  • Prev by Date: Re: Assign value to variable
  • Next by Date: Re: Assign value to variable
  • Previous by thread: Re: de-nesting complex nested lists
  • Next by thread: Re: Documentation on (Color) Blend