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

imho, this is the *simplest* way to do a wafer map... K.I.S.S.   :-)


In this example, I use sas/graph "proc gplot" (this is what you 
normally might use to do an x/y scatter plot).

Whereas in the examples where I use gmap or annotate to draw the
wafer grid cells, that require me to calculate the 4 corner 
coordinates of each grid cell -- when I use gplot I don't have to
do any of that!  :)

Basically I just use a user-defined format to "map" the data into
the ranges that I want to represent as my various colors, and
then I "gplot" my data.

The 'trick' is that I specify a special box-shaped symbol from
the sas/graph "marker" software font.  This is character 'U'
of the marker font (the normal value=square of the symbol
statement would be an empty square - but the 'U' character
from the 'marker' font is a filled-in square)...

   symbol1  v=square i=none font=marker v=U h=1.75 c=red;

I use autohref/autovref to put reference lines at each major
axis tickmark, and I use a negative height so tha the tickmarks
don't stick out on the outside of the graph (this little trick
is totally optional, of course :)

I use gplot's "html=" option to specify the variable that contains
my html title= tags for charttip/flyover-text, and I use the href= tag
to add a drilldown (the drilldown takes you to the 'contour plot'
version of the same wafer data).

And that's it -- very simple, very easy! :)

-----

For those of you viewing this on the internal sas web, here is a 
link to a "drilldown" example that uses this kind of gplot wafermap.
The dynamic drilldown example uses SAS/Intrnet.


Back to Samples Index