Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: ColorFunction

  • To: mathgroup at
  • Subject: [mg30496] Re: [mg30477] ColorFunction
  • From: BobHanlon at
  • Date: Fri, 24 Aug 2001 04:05:55 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

In a message dated 2001/8/23 2:24:00 AM, rhsu at U.Arizona.EDU writes:

>When draw a contour plot, one can use the ColorFunction option to shade.
>For example:
>ContourPlot[ Sin[x]*Tan[y],  {x, 0.2, 1}, {y, 0.2, 1},
>             ColorFunction -> Hue ]
>I want to know how to use RGBColor instead of Hue?

    ColorFunction->(RGBColor[#, 0, 1-#]&)];

Bob Hanlon
Chantilly, VA  USA

  • Prev by Date: [Technical] Filters like GIMP?
  • Next by Date: Re: combining Log[] terms
  • Previous by thread: ColorFunction
  • Next by thread: Re: ColorFunction