Click here to see the SAS code.
Click here to see the example.
This is another 'fun' one! :)
I wanted to do a chart that used 'ticks' to count the data, and I wanted
to do it in such a way that I could easily re-use the code with other
data (rather than just hardcoding/crawing the marks for a certain data).
I use gplot do do the axes, but I specify a symbol statement that draws
tiny 'invisible' markers where the data is.
I then use some clever annotate code to draw a tickmark at each location
where there would be data ... except at each 5th data location I draw
a diagonal tickmark going back across the previous 4 tickmarks.
I use annotated strips of gray to make a gradient shaded background
(to look like a chalkboard), and I use white for the color of the
annotated tickmarks (to make them look like chalk).
I informally call this my "Old School" graph :)
Back to Samples Index