Given a curve label’s
location inside or outside of the plot area, a plot statement’s
CURVELABELPOSITION= option can adjust the label’s position
relative to the curve line. For example, the following positions are
available for a series plot (for some plots, START and END are not
available):
Only used when CURVELABELLOCATION=OUTSIDE.
The curve label is positioned automatically near the end series line
along unused axes whenever possible (typically Y2 or X2) to avoid
collision with tick values.
Forces the curve label
to appear near maximum series values (typically, to the right).
Forces the curve label
to appear near minimum series values (typically, to the left).
Only used when CURVELABELLOCATION=INSIDE.
Forces the curve label to appear near the beginning of the curve.
Particularly useful when the curve line has a spiral shape.
Only used when CURVELABELLOCATION=INSIDE.
Forces the curve label to appear near the end of the curve Particularly
useful when the curve line has a spiral shape.
When CURVELABELLOCATION=INSIDE,
you can choose whether to position the curve label near the START
or END of the curve, or near the minimum data values (MIN) or maximum
data values (MAX). START and END use a different algorithm than MIN
and MAX. They are particularly useful for spiral-shaped curves whose
end points do not correlate with the minimum and maximum data values.
In those cases, START or END provide “better” label
locations than MIN and MAX.
When CURVELABELLOCATION=OUTSIDE
and CURVELABELPOSITION=AUTO, a “good” position is automatically
chosen to avoid collision with the axis information.
The following
figure shows the different combinations of label locations and positions:
-
The minimum or maximum axis tick
marks can be adjusted (see
Adjusting Axis Offsets) so that the
label can be placed inside the plot area. Increasing label length
decreases the area available for displaying plots.
-
When CURVLABELLOCATION=OUTSIDE,
you can set the CURVELABELPOSITION to MIN or MAX, but the label might
collide with the axis ticks and tick values, unless you are aware
of where the axes are positioned.