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.
Syntax
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.
Examples
hrs.displayname Hours Worked
hrs.label
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.
Cross-references
See
“Labeling Objects” for a discussion of labels and display names.