Difference between revisions of "CenterView Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}}
{{betamanual|version=4.2}}{{command|scripting}}
+
;CenterView( &lt;Center Point> )
;CenterView[ &lt;Center Point> ]
+
:Translates the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]] so that the specified point is in the center.
: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 Views'' are present, the active one is used.}}

Latest revision as of 08:53, 12 October 2017


CenterView( <Center Point> )
Translates the Menu view graphics.svg 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.
© 2024 International GeoGebra Institute