MathGroup Archive 1995

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

Search the Archive

Re: color in ListContourPlot

  • Subject: [mg2256] Re: [mg2230] color in ListContourPlot
  • From: tzeller (Tom Zeller)
  • Date: Thu, 19 Oct 1995 05:32:05 GMT
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Wolfram Research, Inc.
  • Sender: daemon at wri.com ( )

Beth -

You can adjust the argument of Hue to reduce its range using a pure function.

     ColorFunction -> Hue  can be written ColorFunction -> (Hue[#]&)

if you multipy the argument of Hue by say .9 you, in effect reduce it's range

      ColorFunction -> (Hue[.9 #]&) will color your minimum values red and
your max value a pinkish/purplish/rose.

The parentheses in the examples above are important.  You can try other
operations on the argument of Hue.  One restriction is that your result
must
be in the {0,1} range.

Tom Zeller
Wolfram Research

>I want to do a ListContourPlot with a specific color range (from
>white/purple to red).  If I just use "Hue", the high and low values are red.
>I've got a lot of contours, so I want to avoid having to define a color
>individually for each one.  I'm running Mathematica on a Windows machine.
>Thanks for the help!  -Beth




  • Prev by Date: Spherical Trigonometry Application
  • Next by Date: Puzzle
  • Previous by thread: Re: color in ListContourPlot
  • Next by thread: Re: color in ListContourPlot