Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg30496] Re: [mg30477] ColorFunction
  • From: BobHanlon at aol.com
  • Date: Fri, 24 Aug 2001 04:05:55 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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?
>

ContourPlot[Sin[x]*Tan[y],{x,0.2,1},
    {y,0.2,1},
    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