Click here to see the SAS code.
Click here to see the example.
This is a sas imitation of a plot from p. 185 of Stephen Few's
book "Show me the Numbers".
I used a few tricks to get this graph exactly like Stephen's...
I used a numeric variable for the month, to get them in the
desired order (otherwise they would have been ordered alphabetic,
or numeric ascending/descending). I then applied a user-defined
format to make the numeric values print as the month abbreviation.
I made the horizontal axis white ('invisible') and the response
axis gray. I then made the text values on the axes black.
I suppressed the minor tickmarks on the response axis, and made
the major tickmarks slightly longer than usual.
I added a 2nd line to the response axis label -- it contains a
blank value with a height of 2pct. I used this blank just to
add a little extra space.
Back to Samples Index