Ploticus data display engine Copyright Steve Grubb


Ploticus Gallery - Legends

This page contains some examples of legends, illustrating the available varieties and options.

These examples all use ploticus's proc legend.


Example 1

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

lineplot5

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


Example 3

propbars1

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


Example 4

scatterplot3

An example with symbols containing characters.


Example 5

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

hbars3

This example uses a single line of entries with some multi-line labels.