Object Reference : Object View and Procedure Reference : Series
Display name for series objects.
Attaches a display name to a series object which may be used to label output in tables and graphs in place of the standard series object name.
series_name.displayname display_name
Display names are case-sensitive, and may contain a variety of characters, such as spaces, that are not allowed in series object names.
hrs.displayname Hours Worked
The first line attaches a display name “Hours Worked” to the series HRS, and the second line displays the label view of HRS, including its display name.
gdp.displayname US Gross Domestic Product
plot gdp
The first line attaches a display name “US Gross Domestic Product” to the series GDP. The line graph view of GDP from the second line will use the display name as the legend.
See “Labeling Objects” for a discussion of labels and display names.
See also Series::label and Series::label.