Difference between revisions of "ShowAxes Command"
From GeoGebra Manual
(Mentioned SetVisibleInView for single axis) |
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}} | ||
− | ;ShowAxes | + | ;ShowAxes( ) |
:Shows the axes in the active View. | :Shows the axes in the active View. | ||
− | ;ShowAxes | + | ;ShowAxes( <Boolean> ) |
:Shows/hides the axes in the active View. | :Shows/hides the axes in the active View. | ||
:{{example|1=<div> | :{{example|1=<div> | ||
:*<code><nowiki>ShowAxes[true]</nowiki></code> shows the axes in the active View. | :*<code><nowiki>ShowAxes[true]</nowiki></code> shows the axes in the active View. | ||
:*<code><nowiki>ShowAxes[false]</nowiki></code> hides the axes in the active View.</div>}} | :*<code><nowiki>ShowAxes[false]</nowiki></code> hides the axes in the active View.</div>}} | ||
− | ;ShowAxes | + | ;ShowAxes( <View>, <Boolean> ) |
:Shows/hides the axes 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 axes 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
- ShowAxes( )
- Shows the axes in the active View.
- ShowAxes( <Boolean> )
- Shows/hides the axes in the active View.
- Example:
ShowAxes[true]
shows the axes in the active View.ShowAxes[false]
hides the axes in the active View.
- ShowAxes( <View>, <Boolean> )
- Shows/hides the axes in the Graphics View specified by the number 1 or 2 (or 3 for 3D View) .
- Example:
ShowAxes[1, true]
shows the axes in Graphics View.ShowAxes[2, false]
hides the axes in Graphics 2 View.
Note: See also ShowGrid command. To show / hide a single axis please use SetVisibleInView Command.