MathGroup Archive 2001

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

Search the Archive

Re: ColorFunction


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