MathGroup Archive 2004

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

Search the Archive

ColorFunctions again (making z=0 be different from z=1)

  • To: mathgroup at
  • Subject: [mg50488] ColorFunctions again (making z=0 be different from z=1)
  • From: AES/newspost <siegman at>
  • Date: Tue, 7 Sep 2004 05:43:49 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

The simple  ColorFunction->Hue  option in Plot3D, ContourPlot, and 
DensityPlot, makes z = 0 appear the same as z = 1 (i.e., both bright 
red), a situation which seems to me to make these plots confusing 
and more difficult to interpret, given that "high peaks" and "sea
level valleys" may be the most interesting features of such a plot.

Do others have any favorite, not too messy ColorFunctions that
make values near z = 0 tend toward white, or grey, or less bright,
or something so that there's a clearly unidirectional visual
effect going from values of z near 0 to those near z = 1?

[And as a side question, a simple Prolog or Epilog code to put 
one of those scaled and labelled vertical color bars alongside a
ContourPlot or DensityPlot, perhaps with the same vertical
height as the plot itself?]

  • Prev by Date: Re: expresion with variables from a list
  • Next by Date: Postscript Graphics in Header - Mathematica 5.0
  • Previous by thread: ParametricPlot and legends
  • Next by thread: Re: ColorFunctions again (making z=0 be different from z=1)