represents an object which displays as e, but is interpreted as the dynamically updated current value of Setting[e] if supplied as Wolfram Language input.
DynamicSetting[f,e]
displays as e, but is interpreted as f[e] if supplied as input.
DynamicSetting
represents an object which displays as e, but is interpreted as the dynamically updated current value of Setting[e] if supplied as Wolfram Language input.
DynamicSetting[f,e]
displays as e, but is interpreted as f[e] if supplied as input.
Details
- DynamicSetting[e] returns an object which remains unchanged until it is explicitly supplied as Wolfram Language input, and evaluated using
, Evaluate in Place, etc. - In the object returned by DynamicSetting, all controls such as sliders are operable.
Examples
open all close allBasic Examples (2)
Displays as a slider, but gives the slider's setting when used as input:
DynamicSetting[Slider[]]Copy the output to use as active input:
{Slider[0.5], Slider[0.848]}Plot[Sin[x], {x, 0, 10}, PlotStyle -> DynamicSetting[ColorSetter[]]]Copy and use Evaluate in Place (
) to display as an actual color swatch:
Plot[Sin[x], {x, 0, 10}, PlotStyle -> ColorSetter[RGBColor[0.0862745098039216, 0.254901960784314, 0.913725490196078]]]Possible Issues (1)
DynamicSetting needs to be evaluated first using Evaluate in Place:
Plot[Sin[x], {x, 0, 10}, PlotStyle -> DynamicSetting[ColorSetter[]]]Plot[Sin[x], {x, 0, 10}, PlotStyle -> ColorSetter[RGBColor[0.850980392156863, 0.149019607843137, 0.745098039215686]]]Tech Notes
Related Guides
Related Workflows
- Insert a Control in an Input Expression
History
Text
Wolfram Research (2007), DynamicSetting, Wolfram Language function, https://reference.wolfram.com/language/ref/DynamicSetting.html.
CMS
Wolfram Language. 2007. "DynamicSetting." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DynamicSetting.html.
APA
Wolfram Language. (2007). DynamicSetting. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DynamicSetting.html
BibTeX
@misc{reference.wolfram_2026_dynamicsetting, author="Wolfram Research", title="{DynamicSetting}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/DynamicSetting.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_dynamicsetting, organization={Wolfram Research}, title={DynamicSetting}, year={2007}, url={https://reference.wolfram.com/language/ref/DynamicSetting.html}, note=[Accessed: 12-June-2026]}