Difference between revisions of "ZoomIn Command"
From GeoGebra Manual
m (fixed wiki syntax) |
m (formating) |
||
Line 3: | Line 3: | ||
;ZoomIn[ <Scale Factor> ] | ;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. | :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. | ||
− | {{example|1=<code>ZoomIn[1]</code> doesn't do anything, <code>ZoomIn[2]</code> zooms the view in, <code>ZoomIn[0.5]</code>is equivalent to [[ZoomOut Command|ZoomOut]][2], i.e. it zooms the view out.}} | + | {{example|1=<code>ZoomIn[1]</code> doesn't do anything, <code>ZoomIn[2]</code> zooms the view in, <code>ZoomIn[0.5]</code>is equivalent to <code>[[ZoomOut Command|ZoomOut]][2]</code>, i.e. it zooms the view out.}} |
;ZoomIn[ <Scale Factor>, <Center Point> ] | ;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. | :Zooms the [[Graphics View]] in by given factor with respect to current zoom, second parameter specifies center point for the zoom. |
Revision as of 20:41, 2 May 2011
- 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.
Example:
ZoomIn[1]
doesn't do anything, ZoomIn[2]
zooms the view in, ZoomIn[0.5]
is equivalent to ZoomOut[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[ <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).
Note: If multiple Graphics Views are present, the active one is used.
Comments
Idea of Use[edit]
Linear aproximation of a function by its tangent[edit]
Create a function f with a point A on it and a button with the code ZoomIn(2,A)
to see that the function looks equal to the tangent for a big "magnification". Another button with ZoomOut let you be able to prove this at other positions of the point A.