Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > 动态交互 > 控制对象 >

Manipulator

Manipulator[x]
表示 x 的值在 0 和 1 之间的一个操控器。
Manipulator[Dynamic[x]]
动态更新 x 的值,即当移动操控器时,x 的值重新设置。
Manipulator[x, {xmin, xmax}]
表示一个范围在 xminxmax 之间的操控器。
Manipulator[x, {xmin, xmax, dx}]
表示一个操控器,其步长为 dx
  • 在笔记本中,Manipulator[...] 显示一个水平滑尺和一个附加控制的集合,这些控制可以交互操作。
  • 给出以下选项:
AppearanceAutomatic操控器的整体外观
AppearanceElementsAutomatic显示的操控器中包含的元素
BaselinePositionAutomatic与周围的本文的对齐
ContinuousActionTrue当操控器控制改变时,是否持续更新
EnabledAutomatic操控器可用或不可用
ImageMargins0显示的操控器的图像的周围边缘
ImageSizeAutomatic显示的操控器的全部图像大小
  • Appearance->"Labeled" 显示操控器的当前值,类似于可编辑标签。
  • 在一个默认的操控器中包括以下元素: "InputField""StepLeftButton""PlayPauseButton""StepRightButton""FasterSlowerButtons""DirectionButton""InlineInputField"。这些元素可以按任意顺序在列表中给出,同 AppearanceElements 中设置的一样。
6 的新功能
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team