Click here to see the SAS code.
Click here to see the example.
---------------------------------------------------------------
See my blog for more information about this graph!
See my blog for more information about this graph!
This example is interesting in several ways.
#1 - It reads the data directly from a webpage when the sas job
is run to produce the plot.
#2 - It globs pieces of character strings together, and converts
them into a proper sas date value.
#3 - It overlays 3 plots together.
#4 - It uses a special gplot interpolation to "smooth" the
sinusoidal data of the red line, and plot it as the
smoothed blue line.
#5 - A bit of trickery to get an 'invisible' axis on the left
hand side, and a visible one on the right.
#6 - Got a little trick with the horizontal axis to get the
10-year date increments.
Back to Samples Index