sa8a

// Usage: pl -gif sa8a.htm
// do areadef with X scaled in years, using proc areadef
#proc areadef
rectangle: 1 1 4 1.5
xscaletype: date
xrange: 010198 123101
yrange: 3.0 6.0
// do year X axis using proc xaxis
#proc xaxis
stubs: inc 1 year
stubformat: yyyy
ticlen: 0 0.2
location: min-0.18
axisline: none
stubslide: 180(s)
// do another X axis to show quarters, using proc xaxis
#proc xaxis
stubs: inc 3 month
stubformat: Q
tics: none
stubdetails: adjust=0,+0.05
stubslide: 45(s)
// now, if we want to plot data expressed in quarter year notation, we must change units.
// See also the quarters example.
#proc defineunits
axis: x
units: date nqyy