Mathematica > Visualization and Graphics > Graphics Options & Styling > Plotting Options >

ColorFunctionScaling

ColorFunctionScaling
is an option for graphics functions which specifies whether arguments supplied to a color function should be scaled to lie between 0 and 1.
  • 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.
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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team