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:

Use unscaled coordinates:

Wolfram Research (1999), ColorFunctionScaling, Wolfram Language function, https://reference.wolfram.com/language/ref/ColorFunctionScaling.html (updated 2007).

Text

Wolfram Research (1999), ColorFunctionScaling, Wolfram Language function, https://reference.wolfram.com/language/ref/ColorFunctionScaling.html (updated 2007).

CMS

Wolfram Language. 1999. "ColorFunctionScaling." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/ColorFunctionScaling.html.

APA

Wolfram Language. (1999). ColorFunctionScaling. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ColorFunctionScaling.html

BibTeX

@misc{reference.wolfram_2024_colorfunctionscaling, author="Wolfram Research", title="{ColorFunctionScaling}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ColorFunctionScaling.html}", note=[Accessed: 14-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_colorfunctionscaling, organization={Wolfram Research}, title={ColorFunctionScaling}, year={2007}, url={https://reference.wolfram.com/language/ref/ColorFunctionScaling.html}, note=[Accessed: 14-October-2024 ]}