MathGroup Archive 2010

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

Search the Archive

Re: Colorfunction in ContourPlot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg112426] Re: Colorfunction in ContourPlot
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Wed, 15 Sep 2010 04:38:39 -0400 (EDT)

On 9/14/10 at 5:15 AM, ntina.86 at libero.it (Eamane) wrote:

>I'm plotting a function of two variables with ContourPlot.
>It's something very simple like:

>ContourPlot[f(x,y), {x, 0, 1}, {y, 0.01, 0.1},
>ColorFunction -> "LightTemperatureMap", FrameLabel -> {.....}]

>I'm using the command colorfunction because I'd like Mathematica to
>plot the regions where function f(x,y) is smaller with blue and the
>densest regions with red. I try to explain my problem: the colors I
>get are almost exactly what I want, except for the densest regions,
>which are white. How can I color them with red?

Try

ColorFunction -> (Blend[{Red, Blue}, #] &



  • Prev by Date: Re: Include unconnected nodes in graph plot -- how?
  • Next by Date: Re: Tabulating expressions dependent on two variables
  • Previous by thread: Colorfunction in ContourPlot
  • Next by thread: Re: Colorfunction in ContourPlot