Click here to see the SAS code.
Click here to see the example.

This is another example of the new "proc gbarline".

This new proc enables you to easily overlay a line with a bar chart,
without having to use tricks (such as annotating a line on a bar
chart, or annotating bars behind a line gplot, or using wide 
gplot 'needle' plot interpolation to look like bars in a line
gplot, etc).

This example is a fairly simple gbarline, with some text annotated 
along the line - notice that I specify the annotate= option in 
the 'plot' statement, and I use xsys & ysys=2 (data coordinate
system).

The only other 'trick' I use is that I angle the label of the 
left and right (response) axes.

Back to Samples Index