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