Mathematica > 动态交互 > 交互式操控 > 交互操作的选项和样式 > ControlType >

ControlType

ControlType
Manipulate 和相关函数的一个选项,指定应该显示的控件类型.
  • 任意控件可以通过给出形如 的控件指定在 Manipulate 中设置.
缺省的 Manipulate 控件:
Slider2D 屏蔽:
缺省的 ControllerManipulate 控件:
添加一个连接到同一变量的 Slider
指定多重控件的类型:
缺省的 Manipulate 控件:
Slider2D 屏蔽:
 
缺省的 ControllerManipulate 控件:
In[1]:=
Click for copyable input
Out[1]=
添加一个连接到同一变量的 Slider
In[2]:=
Click for copyable input
Out[2]=
 
指定多重控件的类型:
在默认情况下,Manipulate 选择一个 Manipulator 来控制指定的变量:
ControlType 指定要使用的控制类型,包括 None
为每一个 Manipulate 变量分别指定控件类型:
ControlType 可以同个别变量控件的指定结合使用:
采用 Automatic 设置时,选用一个适当的控制器:
版本 6 的新功能
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
格式:   HTML  |  CDF