EXAMPLE 12  Annotated Map Borders

Purpose: This example demonstrates how to draw darker state outlines on a U.S. county map. The technique can be easily adapted to any map that has geographical boundaries at a lower level in which you want to also show groupings at a higher level. (This technique was adapted from SAS Technical Support’s example number 24904.)

There is no built-in way to represent two different levels of map borders in SAS/GRAPH. Therefore, you have to create a custom map using the Annotate facility. In a nutshell, you create a normal county map, and then annotate the state outline on top of it using a line that is darker or thicker or both.

You might be tempted to try combining maps.uscounty and maps.us, but those two do ...

Get SAS/GRAPH: Beyond the Basics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.