Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: [Mathematica 6.0.1] Confusing documentation on ColorData,

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81016] Re: [mg81002] [Mathematica 6.0.1] Confusing documentation on ColorData,
  • From: Carl Woll <carlw at wolfram.com>
  • Date: Sat, 8 Sep 2007 03:48:01 -0400 (EDT)
  • References: <200709070611.CAA06993@smc.vnet.net>

Nasser Abbasi wrote:

>ref/ColorData  says
>
>"ColorData[]
>     gives a list of names collections of color schemes"
>
>But When I type ColorData[] nothing really comes up.
>  
>
You get four named collections of color schemes:

{"Gradients","Indexed","Named","Physical"}

>Also, in ref/ColorFunction it says (2/3 down the first page)  it says
>
>" The list of possible color function names is given by 
>ColorData["Gradients"] "
>  
>
And "Gradients" is included in the list above. The other named 
collections also give ColorFunctions, but their domain is not (0,1), so 
they are not directly useful as ColorFunctions in plots.

>I am basically looking for names of ColorFunctions that I can use with
>
>           ContourPlot[....,ColorFunction->??]
>
>I'd like to get a list of such names to try them out. Something like in this 
>example
>
>   Plot3D[Sin[x*y], {x, 0, 3}, {y, 0, 3}, ColorFunction -> 
>"BlueGreenYellow"]
>  
>
You were almost there. Add ColorData:

Plot3D[Sin[x*y], {x, 0, 3}, {y, 0, 3},
 ColorFunction -> ColorData["BlueGreenYellow"]]

>Thanks,
>Nasser 
>
>  
>



  • Prev by Date: Re: [Mathematica 6.0.1] Confusing documentation on ColorData, where to get list of ColorFunctions ?
  • Next by Date: Re: Combining Fractions with Identical Denominator?
  • Previous by thread: Re: [Mathematica 6.0.1] Confusing documentation on ColorData, where to get list of ColorFunctions ?
  • Next by thread: Re: [Mathematica 6.0.1] Confusing documentation on ColorData,