Difference between revisions of "SetLabelMode Command"

From GeoGebra Manual
Jump to: navigation, search
m
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}}
;SetLabelMode[ <Object>, <Number> ]
+
;SetLabelMode( <Object>, <Number> )
:Changes the label mode of given object according to the table below. Integers distinct from the ones listed in table are treated as 0.
+
:Changes the label mode of the given object, according to the table below.
  
{| class="pretty"
+
:{{notes|1=<div>
 +
:* Integers distinct from the ones listed in table are treated as 0.
 +
:* The default option for the object's label is ''Name''.
 +
:* For options 3 and 9, if the object's ''Caption'' box is empty, the ''Name'' of the object is used as caption.</div>}}
 +
 
 +
 
 +
 
 +
{| class="pretty" align="center"
 
!Number
 
!Number
 
!Mode
 
!Mode
Line 18: Line 25:
 
|3
 
|3
 
|[[Labels and Captions#Captions|Caption]]
 
|[[Labels and Captions#Captions|Caption]]
 +
|-
 +
|9
 +
|[[Labels and Captions#Captions|Caption]] + Value
 
|}
 
|}

Latest revision as of 08:29, 12 October 2017


SetLabelMode( <Object>, <Number> )
Changes the label mode of the given object, according to the table below.
Notes:
  • Integers distinct from the ones listed in table are treated as 0.
  • The default option for the object's label is Name.
  • For options 3 and 9, if the object's Caption box is empty, the Name of the object is used as caption.


Number Mode
0 Name
1 Name + Value
2 Value
3 Caption
9 Caption + Value
© 2024 International GeoGebra Institute