Re: [Mathematica 6.0.1] Confusing documentation on ColorData, where
- To: mathgroup at smc.vnet.net
- Subject: [mg81024] Re: [Mathematica 6.0.1] Confusing documentation on ColorData, where
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Sat, 8 Sep 2007 03:52:09 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <fbqqht$787$1@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.
Weird. On my system it returns a list of collections. For instance,
In[1]:= ColorData[]
Out[1]= {"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"] "
>
> 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"]
The following expression returns the names of all the color schemes.
In[2]:= ColorData /@ ColorData[]
Out[2]= {{"DarkRainbow", "Rainbow", "Pastel", "Aquamarine",
"BrassTones", "BrownCyanTones", "CherryTones", "CoffeeTones",
"FuchsiaTones", "GrayTones", "GrayYellowTones", "GreenPinkTones",
"PigeonTones", "RedBlueTones", "RustTones", "SiennaTones",
"ValentineTones", "AlpineColors", "ArmyColors", "AtlanticColors",
"AuroraColors", "AvocadoColors", "BeachColors", "CandyColors",
"CMYKColors", "DeepSeaColors", "FallColors", "FruitPunchColors",
"IslandColors", "LakeColors", "MintColors", "NeonColors",
"PearlColors", "PlumColors", "RoseColors", "SolarColors",
"SouthwestColors", "StarryNightColors", "SunsetColors",
"ThermometerColors", "WatermelonColors", "RedGreenSplit",
"DarkTerrain", "GreenBrownTerrain", "LightTerrain", "SandyTerrain",
"BlueGreenYellow", "LightTemperatureMap", "TemperatureMap",
"BrightBands", "DarkBands"}, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43}, {"Atoms",
"GeologicAges", "HTML", "Legacy", "WebSafe"}, {"BlackBodySpectrum",
"HypsometricTints", "VisibleSpectrum"}}
--
Jean-Marc