|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
Slider2D
Slider2D[{x, y}]
represents a 2D slider with settings x and y in the range 0 to 1.
Slider2D[Dynamic[pt]]
takes the setting to be the dynamically updated current value of pt, with the value of pt being reset if the slider is moved.
Slider2D[pt, {min, max}]
represents a 2D slider with range min to max in each direction.
Slider2D[pt, {min, max, d}]
represents a 2D slider that jumps in steps d in each direction.
Slider2D[pt, {{xmin, ymin}, {xmax, ymax}}]
specifies different ranges in x and y directions.
Slider2D[pt, {{xmin, ymin}, {xmax, ymax}, {dx, dy}}]
uses jumps dx, dy.
Details and OptionsDetails and Options
- Slider2D[...] displays in a notebook as a 2D slider that can be manipulated interactively, and moved in both horizontal and vertical directions.
- Slider2D[Dynamic[pt]] will reset the value of pt when the slider is moved; Slider2D[pt] will not.
- Slider2D[pt, {nmin, nmax, dn}] jumps to integer positions if
and dn are integers. - Slider2D[pt, {rmin, rmax, dr}] in general jumps to positions given by Range[rmin, rmax, dr].
- In Slider2D[pt, {{xmin, ymin}, {xmax, ymax}, {dx, dy}}], dx or dy can be
, indicating that settings in the corresponding direction should be continuous. - The coordinates in Slider2D run in the same directions as the default for Graphics, with x running from left to right, and y running from bottom to top.
- Slider2D[pt, {{xmin, ymax}, {xmax, ymin}}] with
>
represents a 2D slider with y running from top to bottom. - If the value of the 2D slider is outside the ranges given, it will be displayed at one of the sides.
- The following options can be given:
-
Appearance Automatic the overall appearance of the 2D slider AutoAction False whether to move the 2D slider automatically when the mouse is over it BaselinePosition Automatic how to align with a surrounding text baseline BaseStyle {} base style specifications for the 2D slider ContinuousAction True whether to update continuously when the slider is moved Enabled Automatic whether the 2D slider is enabled, or grayed out Exclusions {} specific points to exclude ImageMargins 0 margins around the image of the displayed 2D slider ImageSize Automatic the overall image size of the displayed 2D slider - The settings for BaseStyle are appended to the default style typically given by the
style in the current stylesheet. - Slider2D[] is equivalent to Slider2D[{0.5, 0.5}].
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »


