DisplayFunction
is an option for graphics and sound functions that specifies a function to apply to graphics and sound objects before returning them.
Details
- The typical default setting is DisplayFunction:>$DisplayFunction.
- With a notebook front end, $DisplayFunction is normally Identity.
- DisplayFunction->(Print[#];&) prints the graphic in a separate cell.
- Show, as well as functions like Plot and Plot3D, automatically applies the function specified by the setting for DisplayFunction before returning its results.
Examples
Basic Examples (2)
Wolfram Research (1988), DisplayFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/DisplayFunction.html (updated 2007).
Text
Wolfram Research (1988), DisplayFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/DisplayFunction.html (updated 2007).
CMS
Wolfram Language. 1988. "DisplayFunction." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/DisplayFunction.html.
APA
Wolfram Language. (1988). DisplayFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DisplayFunction.html