Object Reference : Object View and Procedure Reference : Vector
Set display name for vector.
Attaches a display name to a vector which may be used to label output in tables and graphs in place of the standard vector name.
vector_name.displayname display_name
Display names are case-sensitive, and may contain a variety of characters, such as spaces, that are not allowed in object names.
v1.displayname Coef Results
The first line attaches a display name “Coef Results” to the vector V1, and the second line displays the label view of V1, including its display name.
v1.displayname Means by State
plot v1
The first line attaches a display name “Means by State” to the vector V1. The line graph view of V1 will use the display name as the legend.
See “Labeling Objects” for a discussion of labels and display names.
See also Vector::label and Graph::legend.