Difference between revisions of "ShowGrid Command"
From GeoGebra Manual
m |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude> {{command|scripting}} | <noinclude>{{Manual Page|version=5.0}}</noinclude> {{command|scripting}} | ||
− | ;ShowGrid | + | ;ShowGrid( ) |
:Shows the grid in the active View. | :Shows the grid in the active View. | ||
− | ;ShowGrid | + | ;ShowGrid( <Boolean> ) |
:Shows/hides the grid in the active View. | :Shows/hides the grid in the active View. | ||
:{{example|1=<div> | :{{example|1=<div> | ||
:*<code><nowiki>ShowGrid[true]</nowiki></code> shows the grid in the active View. | :*<code><nowiki>ShowGrid[true]</nowiki></code> shows the grid in the active View. | ||
:*<code><nowiki>ShowGrid[false]</nowiki></code> hides the grid in the active View.</div>}} | :*<code><nowiki>ShowGrid[false]</nowiki></code> hides the grid in the active View.</div>}} | ||
− | ;ShowGrid | + | ;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''). | :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> | :{{example|1=<div> |
Revision as of 17:17, 7 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 Graphics View specified by the number 1 or 2 (or 3 for 3D View).
- Example:
ShowGrid[1, true]
shows the grid in Graphics View.ShowGrid[2, false]
hides the grid in Graphics 2 View.
Note: See also ShowAxes command.