O'Reilly logo

SAS/GRAPH: Beyond the Basics by Robert Allison

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required