## Gallery - Legends | Welcome Gallery Handbook |
| Manual page for Gallery_-_Legends(PL)

This page contains some examples of legends, illustrating the available varieties and options. These examples all use ploticus's proc legend.

#
Example 1 - script

km
A legend can display samples of lines, colors, and symbols. This legend includes line and color samples. The usual procedure for building a legend is to include a legendlabel attribute with each plotting proc, then display the accumulated set using proc legend.

#
Example 2 - script

lineplot5
In this example, the legend entries go across, rather than down.

#
Example 3 - script

propbars1
A two-column legend. Proc legend is invoked twice, using the specifyorder attribute to select entries.

#
Example 4 - script

scatterplot3
An example with symbols containing characters.

#
Example 5 - script

scatterplot3a
In this example, the legend is built by defining entries explicitly invoking proc legendentry once per entry. The legend is rendered using proc legend.

#
Example 6 - script

hbars3
This example uses a single line of entries with some multi-line labels.
data display engine
Copyright Steve Grubb

Markup created by unroff 1.0, `` `` September 14, 2001.