This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Manipulator

Manipulator[x]
represents a manipulator with setting x in the range 0 to 1.
Manipulator[Dynamic[x]]
takes the setting to be the dynamically updated current value of x, with the value of x being reset if the manipulator is moved.
Manipulator
represents a manipulator with range to .
Manipulator
represents a manipulator that jumps in steps dx.
  • Manipulator[...] displays in a notebook as a horizontal slider and a collection of additional controls that can be manipulated interactively.
  • Manipulate by default generates Manipulator objects for variables that are specified to have ranges of possible values.
  • The following options can be given:
AppearanceAutomaticthe overall appearance of the manipulator
AppearanceElementsAutomaticelements to include in the displayed manipulator
BaselinePositionAutomaticalignment relative to surrounding text
ContinuousActionTruewhether to update continuously when the manipulator controls are changed
EnabledAutomaticwhether the manipulator is enabled, or grayed out
ImageMargins0margins around the image of the displayed manipulator
ImageSizeAutomaticthe overall image size of the displayed manipulator
  • Appearance displays the current value of the manipulator as an editable label.
  • The following elements are included in a default manipulator: , , , , , , . These elements can be specified in any order in a list given as the setting for AppearanceElements.
Default and nondefault initial states:
Dynamically change the value of x:
Specify a range:
Specify a step size and range:
Default and nondefault initial states:
In[1]:=
Click for copyable input
Out[1]=
 
Dynamically change the value of x:
In[1]:=
Click for copyable input
Out[1]=
 
Specify a range:
In[1]:=
Click for copyable input
Out[1]=
 
Specify a step size and range:
In[1]:=
Click for copyable input
Out[1]=
Use only integer values:
Use symbolic range:
View the animation controls:
Parameters that are neither numeric nor Dynamic do not display as a manipulator:
Specify the direction for animation when the play button is clicked:
Change the rate of animation when the play button is clicked:
Use preset values:
Open or close the element area:
Combine the two appearance options:
Specify which control elements should appear below the slider:
All possible appearance elements:
A random choice of appearance elements:
By default, the manipulator responds to mouse clicks:
By setting AutoAction, values will change when the mouse moves over the manipulator:
By default, variables are continuously updated:
Make variables update only when the mouse is released:
By default Manipulator is enabled:
By setting Enabled->False, the manipulator is disabled but visible in its current state:
Exclude values from the range:
Control the size using preset values only:
Modulate the frequency:
Manipulate automatically uses Manipulator controls:
New in 6