Click here to see the SAS code.
Click here to see the example.
---------------------------------------------------------------
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 2 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.
The original graph I was imitating is here.
The actual data is located here.
Back to Samples Index