ColorFunctionScaling

ColorFunctionScaling

is an option for graphics functions that specifies whether arguments supplied to a color function should be scaled to lie between 0 and 1.

Details

  • The usual default setting is ColorFunctionScaling->True.
  • With ColorFunctionScaling->False, original unscaled values are fed to the color function.
  • ColorFunctionScaling->{s1,s2,} takes si to specify whether to scale argument i of the color function.
  • Scaling is done so as to make the minimum and maximum values of all variables lie between 0 and 1.

Examples

Basic Examples  (2)

Parameters to ColorFunction are normally scaled to be between 0 and 1:

In[1]:=
Click for copyable input
Out[1]=

Use unscaled coordinates:

In[1]:=
Click for copyable input
Out[1]=

See Also

ColorFunction  VectorColorFunctionScaling  StreamColorFunctionScaling

Tutorials

Introduced in 1999
(4.0)
| Updated in 2007
(6.0)