Difference between revisions of "CenterView Command"

From GeoGebra Manual
Jump to: navigation, search
(Created page with "<noinclude>{{Manual Page|version=4.2}}</noinclude> {{command|scripting}} ;CenterView[ <Central Point> ] :Translates the Gaphics View so that the specified point is in the cente...")
 
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|scripting}}
 
{{command|scripting}}
;CenterView[ <Central Point> ]
+
;CenterView[ &lt;Center Point> ]
 
:Translates the Gaphics View so that the specified point is in the center.
 
:Translates the Gaphics 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 16:15, 9 May 2012



CenterView[ <Center Point> ]
Translates the Gaphics 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.
© 2024 International GeoGebra Institute