Difference between revisions of "ShowAxes Command"

From GeoGebra Manual
Jump to: navigation, search
m (italics)
Line 2: Line 2:
 
{{command|scripting}}
 
{{command|scripting}}
 
;ShowAxes[ ]
 
;ShowAxes[ ]
:Shows the axes in the active view.
+
:Shows the axes in the active View.
 
;ShowAxes[ <Boolean> ]
 
;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[ <View>, <Boolean> ]
 
;ShowAxes[ <View>, <Boolean> ]
:Shows/hides the axes in the specified view (View = 1, 2. View = 3 for GeoGebra 5)
+
:Shows/hides the axes in the ''Graphics View'' specified by the number 1 or 2 (or 3 for ''3D View'' in GeoGebra 5).
 
:{{example|1=<div>
 
:{{example|1=<div>
:*<code><nowiki>ShowAxes[1, true]</nowiki></code> shows the axes in the first view.
+
:*<code><nowiki>ShowAxes[1, true]</nowiki></code> shows the axes in ''Graphics View''.
:*<code><nowiki>ShowAxes[2, false]</nowiki></code> hides the axes in the second view.</div>}}
+
:*<code><nowiki>ShowAxes[2, false]</nowiki></code> hides the axes in ''Graphics 2 View''.</div>}}
 
  {{Note|1= See also [[ShowGrid Command|ShowGrid command]].}}
 
  {{Note|1= See also [[ShowGrid Command|ShowGrid command]].}}

Revision as of 08:06, 11 April 2014



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 in GeoGebra 5).
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.
© 2024 International GeoGebra Institute