
options linesize=80;
data generate;
do x=0 to 100 by 2;
y=2.54+3.83*x;
output;
end;
run;
proc plot data=generate;
plot y*x;
run;|
A label is placed far
away from the corresponding point. PROC PLOT calculates the penalty
according to this (integer arithmetic) formula:
![]() Notice that penalties
4 through 7 are actually just components of the formula used to determine
the penalty. Changing the penalty for a free horizontal or free vertical
shift to a large value such as 500 removes any penalty for a large
horizontal or vertical shift. Plotting Date Values on an Axis illustrates a case in which removing the horizontal shift
penalty is useful.
|
|
|
A label might collide
with its own plotting symbol. If the plotting symbol is blank, then
a collision state cannot occur. See Collision States for more information.
|
|
. The amount of time required to split the labels
is approximately proportional to
. Generally, the more placement states that you
specify, the more time that PROC PLOT needs to place the labels. However,
increasing the number of horizontal and vertical shifts gives PROC
PLOT more flexibility to avoid collisions, often resulting in less
time used to place labels.
bytes for the internal list of labels. PROC PLOT
builds all plots in memory; each printing position uses one byte of
memory. If you run out of memory, then request fewer plots in each
PLOT statement and put a RUN statement after each PLOT statement.