ColorFunction
Usage
• ColorFunction 是各种图形函数的选项,指明一个应用  值对一个特殊区域确定颜色的函数。
Notes
• ColorFunction 是 Plot3D, ListPlot3D, DensityPlot, ContourPlot, Raster的一个选项及他的相关函数。 • 在缺省设置 ColorFunctionScaling -> True下,对由ColorFunction指定的函数提供的参数总是归一化为 0 到 1的范围。 • 当设置为ColorFunctionScaling -> False,使用原来未归一化的值。 • 由指定的函数ColorFunction必须返回一个CMYKColor, GrayLevel, Hue 或 RGBColor 指令. • ColorFunction -> Automatic 产生灰度级别的范围。 • ColorFunction -> Hue 产生颜色范围。 • 在三维图形中, ColorFunction 仅用在选项设置 Lighting -> False中.
Further Examples
Here is a density plot colored according to Hue and Hue reversed. Evaluate the cells to see the graphics.
In[1]:=
|
In[2]:=
|
|