Difference between revisions of "ShowGrid Command"

From GeoGebra Manual
Jump to: navigation, search
m (Bot: Automated text replacement (-{{betamanual|version=4.2}} + ))
(command syntax: changed [ ] into ( ))
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>  
+
<noinclude>{{Manual Page|version=5.0}}</noinclude> {{command|scripting}}
{{command|text}}
+
;ShowGrid( )
;ShowGrid[ ]
+
:Shows the grid in the active View.
:Shows the grid in the active view
+
;ShowGrid( <Boolean> )
;ShowGrid[ <Boolean> ]
+
:Shows/hides the grid in the active View.
:Shows/hides the grid in the active view
+
:{{example|1=<div>
;ShowGrid[ <Number of Graphics View>, <Boolean> ]
+
:*<code><nowiki>ShowGrid(true)</nowiki></code> shows the grid in the active View.
:Shows/hides the grid in the specified graphics view with number 1 or 2 (or 3 in GeoGebra 5)
+
:*<code><nowiki>ShowGrid(false)</nowiki></code> hides the grid in the active View.</div>}}
 
+
;ShowGrid( <View>, <Boolean> )
 +
:Shows/hides the grid in the [[File:Menu view graphics.svg|link=|16px]] ''Graphics View'' specified by the number 1 or 2 (or 3 for [[File:Perspectives algebra 3Dgraphics.svg|link=|16px]] ''3D View'').
 +
:{{example|1=<div>
 +
:*<code><nowiki>ShowGrid(1, true)</nowiki></code> shows the grid in [[File:Menu view graphics.svg|link=|16px]] ''Graphics View''.
 +
:*<code><nowiki>ShowGrid(2, false)</nowiki></code> hides the grid in [[File:Menu view graphics2.svg|link=|16px]] ''Graphics 2 View''.</div>}}
 
{{Note|1= See also [[ShowAxes Command|ShowAxes command]].}}
 
{{Note|1= See also [[ShowAxes Command|ShowAxes command]].}}

Latest revision as of 08:19, 12 October 2017


ShowGrid( )
Shows the grid in the active View.
ShowGrid( <Boolean> )
Shows/hides the grid in the active View.
Example:
  • ShowGrid(true) shows the grid in the active View.
  • ShowGrid(false) hides the grid in the active View.
ShowGrid( <View>, <Boolean> )
Shows/hides the grid in the Menu view graphics.svg Graphics View specified by the number 1 or 2 (or 3 for Perspectives algebra 3Dgraphics.svg 3D View).
Example:
  • ShowGrid(1, true) shows the grid in Menu view graphics.svg Graphics View.
  • ShowGrid(2, false) hides the grid in Menu view graphics2.svg Graphics 2 View.
Note: See also ShowAxes command.
© 2024 International GeoGebra Institute