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.

DetailsDetails

  • The usual default setting is ColorFunctionScaling->True.
  • With ColorFunctionScaling->False, original unscaled values are fed to the color function.
  • ColorFunctionScaling->{s1, s2, ...} takes 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.

ExamplesExamplesopen allclose all

Basic Examples (2)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]=
New in 4 | Last modified in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »