Difference between revisions of "CenterView Command"
From GeoGebra Manual
m (typo) |
|||
Line 2: | Line 2: | ||
{{betamanual|version=4.2}}{{command|scripting}} | {{betamanual|version=4.2}}{{command|scripting}} | ||
;CenterView[ <Center Point> ] | ;CenterView[ <Center Point> ] | ||
− | :Translates the | + | :Translates the Graphics View so that the specified point is in the center. |
{{example|1=<code>CenterView[(0, 0)]</code> moves the origin to the center of the screen}} | {{example|1=<code>CenterView[(0, 0)]</code> moves the origin to the center of the screen}} | ||
{{Note|If multiple [[Graphics View|Graphics Views]] are present, the active one is used.}} | {{Note|If multiple [[Graphics View|Graphics Views]] are present, the active one is used.}} |
Revision as of 10:18, 10 May 2012
This page is about a feature that is supported only in GeoGebra 4.2. |
- CenterView[ <Center Point> ]
- Translates the Graphics View so that the specified point is in the center.
Example:
CenterView[(0, 0)]
moves the origin to the center of the screen
Note: If multiple Graphics Views are present, the active one is used.