ZoomIn 指令
来自GeoGebra Manual
本页为官方文件,一般使用者无法修改,若有任何误谬,请与官方联络。如欲编辑,请至本页的开放版。
- ZoomIn( )
- 将 绘图区回复到预设初始位置(标准比例 1:1)。
- ZoomIn( <缩放倍率> )
- 将目前的 绘图区以指定 <缩放倍率> 进行放大,并以绘图区的中心点作为缩放中心。
- 范例:
ZoomIn(1)
不会进行缩放,但会移除图面上的踪迹。ZoomIn(2)
将图面放大。ZoomIn(0.5)
等同于ZoomOut(2)
,将图面缩小。
- ZoomIn( <缩放倍率>, <中心点> )
- 将目前的 绘图区以指定 <缩放倍率> 进行放大,并以 <中心点> 作为缩放中心。
- 范例:
ZoomIn(2, (0, 0))
- ZoomIn( <Min x>, <Min y>, <Max x>, <Max y> )
- Zooms the graphics view to the rectangle given by vertices (Min x, Min y), (Max x, Max y).
- 范例:
ZoomIn(0, 1, 5, 6)
- 备注: If any of these parameters are dependent or has label set, the bounds of the view become dynamic. To avoid this behavior, use CopyFreeObject Command.
- 范例:If a is a slider,
ZoomIn(-a, -a, a, a)
makes the zoom of the view dependent on slider a.
- ZoomIn( <Min x>, <Min y>, <Min z>, <Max x>, <Max y>, <Max z> )
- Zooms the 3D graphics view to the cuboid given by vertices (Min x, Min y, Min z), (Max x, Max y, Max z).
- 范例:
ZoomIn(-5, -5, -5, 5, 5, 5)
- 备注: The dynamic behavior of the 2D version isn't supported
备注:
- If multiple Graphics Views are present, the active one is used
- See also ZoomOut, SetActiveView, Pan commands.
Comments
运用的想法[编辑]
用切线对函数进行线性近似[编辑]
建立一个函数 f 及其上一点 A,以及带有程式码 ZoomIn(2,A)
的按钮,利用此按钮将函数放大到足够大的时候,可观察到局部函数图形与切线近似。另一个使用 ZoomOut_指令的按钮可帮助您发现,当 A 点在其他位置时也会有同样的观察结果。