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


This example is similar to the bar_map example, but 
I take it a step further.  In addition to displaying the bar & map into the same
template with greplay, I also display the bar and map separately, into some
custom greplay template areas to simulate a "cube" with reflections.

To do this 3d reflection, I create a "backwards" version of the map (using 
the negative of the x-value), and I create an upside-down version of the 
gchart by taking the negative of the sum value (so the bars stick out below
the axis instead of above).  When I create my custom greplay template, I
use slightly skewed trapezoids rather than rectangles with 90-degree corners,
and then greplay stretches the images into these areas, giving them a 
3d perspective look (and since they're the flip-version of the main chart
and map, it looks like a reflection).

I'm not sure how "useful" this is ... but it's bound to impress your friends and neighbors!  8)

Back to Samples Index