Difference between revisions of "ShowAxes Command"

From GeoGebra Manual
Jump to: navigation, search
m
(Mentioned SetVisibleInView for single axis)
Line 12: Line 12:
 
:*<code><nowiki>ShowAxes[1, true]</nowiki></code> shows the axes in [[File:Menu view graphics.svg|link=|16px]] ''Graphics View''.
 
:*<code><nowiki>ShowAxes[1, true]</nowiki></code> shows the axes in [[File:Menu view graphics.svg|link=|16px]] ''Graphics View''.
 
:*<code><nowiki>ShowAxes[2, false]</nowiki></code> hides the axes in [[File:Menu view graphics2.svg|link=|16px]] ''Graphics 2 View''.</div>}}
 
:*<code><nowiki>ShowAxes[2, false]</nowiki></code> hides the axes in [[File:Menu view graphics2.svg|link=|16px]] ''Graphics 2 View''.</div>}}
  {{Note|1= See also [[ShowGrid Command|ShowGrid command]].}}
+
  {{Note|1= See also [[ShowGrid Command|ShowGrid command]]. To show / hide a single axis please use [[SetVisibleInView Command]].}}

Revision as of 12:44, 24 August 2016


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 Menu view graphics.svg Graphics View specified by the number 1 or 2 (or 3 for Perspectives algebra 3Dgraphics.svg 3D View) .
Example:
  • ShowAxes[1, true] shows the axes in Menu view graphics.svg Graphics View.
  • ShowAxes[2, false] hides the axes in Menu view graphics2.svg Graphics 2 View.
Note: See also ShowGrid command. To show / hide a single axis please use SetVisibleInView Command.
© 2024 International GeoGebra Institute