This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

FormatTypeColorFunctionScaling

ColorFunction

FilledSmallSquareColorFunction is an option for various graphics functions which specifies a function to apply to values to determine the color to use for a particular , region.

FilledSmallSquareColorFunction is an option for Plot3D, ListPlot3D, DensityPlot, ContourPlot, Raster and related functions.

FilledSmallSquare With the default setting ColorFunctionScaling -> True, the arguments provided for the function specified by ColorFunction are always scaled to be in the range 0 to 1.

FilledSmallSquare With ColorFunctionScaling -> False original unscaled values are used.

FilledSmallSquare The function specified by ColorFunction must return a CMYKColor, GrayLevel, Hue or RGBColor directive.

FilledSmallSquareColorFunction -> Automatic yields a range of gray levels.

FilledSmallSquareColorFunction -> Hue yields a range of colors.

FilledSmallSquare In three-dimensional graphics, ColorFunction is used only with the option setting Lighting -> False.

FilledSmallSquare See The Mathematica Book: Section 1.9.6, Section 1.9.6, Section 1.9.7, Section 2.9.2 and Section 2.9.7.

FilledSmallSquare See also: ColorFunctionScaling, Lighting, ColorOutput.

Further Examples

FormatTypeColorFunctionScaling