Click here to see the SAS code.
Click here to see the example.
This one is almost like using sas/graph's "annotate" as my personal
drawing package ;)
Warning: this example is *very* font-sensitive -- you must run it
on a windows pc, and it must have the exact same "arial" tt hardware font
that my pc has.
In this example, I thought it would be a neat test of sas/graph to see
if I could use it to imitate the NESUG (North East SAS Users Group) logo.
Basically I subset the US map and take just the northeast states,
plus Tennessee. When I draw the map, I make the NE states green,
and Tennessee white (I use tennessee just to add some white-space
on the left.
I annotate a big/black circle (pie) behind the map, and then I annotate
a big white circle (slightly offset from the black one) on top of the
black one -- this draws the black crescent around the map.
I line up the 'nesug' letters so that the edge of the 's' lines up
just right with the black crescent, and make it look like they blend.
I use gchart's html= option to specify a variable containing the
html title= charttip/flyover text, so that when you mouse over the
states you see the state names.
This might be easier to do with an interactive drawing package,
but I thought it was kinda 'neat' that I could do it with sas :)
Back to Samples Index