The plot request plots Density on the vertical axis, CrimeRate on the
horizontal axis, and uses the first letter of the value of State as the plotting
symbol. The label variable specification (
$ state
) in the plot request labels
each point with the corresponding state name. BOX draws a box around the plot.
LIST= lists the labels that have penalties greater than or equal to 1. HAXIS=
and VAXIS= specify increments only. PROC PLOT uses the data to determine the
range for the axes. The PLACE macro determines the placement of the labels.
plot density*crimerate=state $ state / box list=1
haxis=by 1000 vaxis=by 250 %place(4);
title 'A Plot of Population Density and Crime Rates';
run;