ZoomIn 指令
来自GeoGebra Manual
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版。
- ZoomIn( )
- Restores the Graphics View to the default initial position
- ZoomIn( <Scale Factor> )
- Zooms the Graphics View in by given factor with respect to current zoom, center of the screen is used as center point for the zoom.
- 範例:
ZoomIn(1)
doesn't change the view, but does remove tracesZoomIn(2)
zooms the view inZoomIn(0.5)
is equivalent toZoomOut(2)
, i.e. it zooms the view out.
- ZoomIn( <Scale Factor>, <Center Point> )
- Zooms the Graphics View in by given factor with respect to current zoom, second parameter specifies center point for the zoom.
- 範例:
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 點在其他位置時也會有同樣的觀察結果。