MathGroup Archive 2001

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

Search the Archive

Re: ColorFunction

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30490] Re: ColorFunction
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 24 Aug 2001 04:05:50 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <9m27oe$h0l$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

ContourPlot[ Sin[x]*Tan[y],  {x, 0.2, 1}, {y, 0.2, 1},
             ColorFunction -> (RGBColor[#,1-#,#^2] &) ]

?
Regards
  Jens

Richard S Hsu wrote:
> 
> Hi,
> 
> 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?
> 
> Thanks.


  • Prev by Date: Re: combining Log[] terms
  • Next by Date: Re: Re: Encoded Mathematica Files
  • Previous by thread: Re: ColorFunction
  • Next by thread: combining Log[] terms