Description and Syntax

Creates a legend with entries that refer to plots, or group values, or both legend items.
Often the data in a plot is classified by a group variable. Or, multiple columns of data are plotted in the same graph. These groups or columns are represented in the graph by different color or line patterns or marker symbols. In these cases, a DISCRETELEGEND can be added to the graph to help decode the data. The DISCRETELEGEND statements uses the following syntax:
DISCRETELEGEND
<..."graph-name-n" | "legend-item-name-n" | "discrete-attribute-map-name-n">
The MERGEDLEGEND statement can be used to consolidate legend entries when the graph displays grouped data for two plots. The statement must specify exactly two names that reference the source for the legend entry values:
MERGEDLEGEND
"graph-name" | "legend-item-name"