Ref Sec15.
/NOUSER
Places a label on the current plot; alias for PPL %LABEL. %LABEL is one of PPLUS's primitive plot commands. It places a label on the plot immediately after being issued (rather than deferring placement). PPLUS does not assign numbers to labels created with LABEL, so they cannot be manipulated as movable labels. The label can also be placed on the plot using the mouse to point and click (see the chapter "Customizing Plots", section "Positioning the Mouse Pointer".
yes? LABEL xpos, ypos, center, angle, size, text
xpos, ypos |
position in user units (world coordinates) |
center |
-1 left justification (the default) |
0 centered |
|
1 right justification |
|
angle |
angle in degrees, 0 degrees at 3 o'clock (default 0) |
size |
size of text in inches (default 0.12) |
See the chapter "Customizing Plots", section "Labels" for examples.
See also the ANNOTATE command which offers all of the functionality of LABEL, with more flexibility.
Command qualifiers for LABEL:
Locates labels in inches instead of user units (xpos and ypos are specified in inches rather than in world coordinates).
The LABEL command may not locate the label correctly if it is issued before the plot is drawn.
When putting a label on a plot with a time axis, the location of the label using time coordinates only works if the time axis has units of hours. There is an FAQ that shows how to handle this,
Locating a label based on the date on a time axis plot.