Click here to see the SAS code.
Click here to see the example.
This type of graphic would be well-suited for analyzing data such as
slices of a silicon wafer crystal. This would let you visualize
successive slices so you can 'see' if there are any trends in the
data (such as a 'bad spot' in the middle of all chips, or a defect
that starts in one area, and going through the lenght of the
crystal maybe this area shifts to the side).
The way I create this graphic is to create a custom sas/graph map
data set that contains the 25 rectangles for a slice. I then
use "proc gmap" to map the data/colors onto each slice, and
save each graphic by name (using the name= option). I then
create a custom "greplay template" with 5 windows (one for each
slice) -- but, instead of making the windows in the traditional
rectangular shape, I make them smaller on the right-hand side
(this gives the optical illusion that the right-hand side is
farther away). I then use "proc greplay" to draw the 5 saved
gmaps into my custom template.
Getting the color legend was a little tricky. If I had used
the "proc gmap" color legend, then it would have been scrunched
and distorted like the gmaps. Therefore I did the legend by hand
using annotate. I then added a 6th rectangular area to my custom
greplay template, and I have it draw my 'titles' annotated legend
Back to Samples Index