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

This is one of those "vivid" graphs, that might be good in a presentation.
It is dominated by a striking/bold red line, which drops off sharply at
the end of the graph, and there are pictures on the graph to help 
reinforce what the graph is showing.

For the red line, I use gplot, and to get the 2nd line you might think
I would use gplot's "overlay", but instead I used the 'z' variable
in the "plot y*x=z" (where 'z' is my 'line' variable).  Notice in my data
that the 1st 2 observations are the starting and ending points of 
the dashed line.

I include a reference line at zero (using gplot's "vref=0" option)
to accentuate the value crossing that threshold and moving into the
negative.

The images are annotated, and the text at the top (which looks like a
title) is also annotated - by annotating this text, I can position it
inside the graph, whereas official 'titles' are always outside the 
graph.

Back to Samples Index