Display or change the label view of the scalar object, including the last modified date and display name (if any).
Syntax
scalar_name.label
scalar_name.label(options) text
Options
To modify the label, you should specify one of the following options along with optional text. If there is no text provided, the specified field will be cleared:
c | Clears all text fields in the label. |
d | Sets the description field to text. |
s | Sets the source field to text. |
u | Sets the units field to text. |
r | Appends text to the remarks field as an additional line. |
p | Print the label view. |
Examples
The following lines replace the remarks field of the scalar S1 with “Mean of Dependent Variable from EQ3”:
s1.label(r)
s1.label(r) Mean of Dependent Variable EQ3
Cross-references
See
“Labeling Objects” for a discussion of labels.