MathGroup Archive 2007

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

Search the Archive

Re: Options in ListContourPlot

  • To: mathgroup at
  • Subject: [mg82174] Re: Options in ListContourPlot
  • From: Szabolcs Horvát <szhorvat at>
  • Date: Sun, 14 Oct 2007 06:05:45 -0400 (EDT)
  • References: <> <fepq7m$dg5$>

Curtis Osterhoudt wrote:
> On Wednesday 10 October 2007 22:19:25 olalla wrote:
>> Hello everybody,
>> I really need somebody to explain to me how the ListContourPlot
>> command works.
>> I mean, when I use it, the resulting plot has the same colour in the
>> region where the scalar field is maximum as in the region where the
>> field in minimum.
>> So the question is:
>> when I have an array of values representing the value of a field at a
>> point what does ListContourPlot exactly does?
>> Thanks in advance
>> Olalla
>> Bilbao, UPV/EHU
> Hi, Olalla, 
>     I suspect you're using a version of Mathematica prior to 6, because 6 uses 
> a default ColorFunction which colors the levels differently for the minimum 
> and maximum. In previous versions (at least in 5), the default color function 
> was "Hue", which has the dubious advantage of being periodic in the visible 
> color range.

This was my first thought too, but in version 5 the default is 
GrayLevel, not Hue:

More precisely it is "Automatic", but it always gives GrayLevel for me.

In[2]:= ColorFunction/.Options[ListContourPlot]
Out[2]= Automatic

>    You can change the ColorFunction for your plot by trying something like:
> ListContourPlot[<your list>, ColorFunction -> (Hue[0.73*(1 - #)] &)]


  • Prev by Date: Re: Manipulator Import in Powerpoint and vice versa
  • Next by Date: Re: How to do count for sub list?????
  • Previous by thread: Re: Options in ListContourPlot
  • Next by thread: Re: Options in ListContourPlot