|
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.
Clickmap support is available for
legend entries.
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 1a - script
clickmap_leg
This example demonstrates how clickmaps
may be used with legend entries. Try clicking on any entry above.
For example, this could be used to take the user to more detailed descriptions
of the legend entries.
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
|