Chapter Contents

Previous

Next
Getting Started with the SAS System Using SAS/ASSIST Software

Producing a Map

A map is a specialized graphic that shows a geographical area with data superimposed on it. A map report is useful for conveying information that varies by geographical area. By following the instructions in this section, you can produce a graphic showing robbery statistics on a United States map, as shown below. You must have SAS/GRAPH software installed to produce a map.

United States Robbery Statistics Map

[IMAGE]


Instructions

  1. To create a map like the one shown in the previous display, follow this selection path:

    Tasks
    [arrow]
    Graphics
    [arrow]
    Maps...
    The Maps window appears.

    Maps Window

    [IMAGE]

  2. If task selections exist (for example, a country name is listed for Map), follow this selection path to clear these selections:

    File
    [arrow]
    New

  3. Select Map. The Select Continent window appears.

    Select Continent Window

    [IMAGE]

  4. Select North America, and then select COUNTRY. The Select Country window appears with a list of countries in North America.

    Select Country Window

    [IMAGE]

  5. Select UNITED STATES (COUNTIES). The Maps window reappears with UNITED STATES listed for Map.

  6. Select Area Identifier, and then select the STATE column. For more information, see Selecting a Column.

  7. Select Response Table. The Response Table in the Maps task is equivalent to the Active Table in other SAS/ASSIST tasks. Select SASUSER.CRIME as the response table. For more information, see Selecting a Table.

  8. Select Column to map, and then select the ROBBERY column.

  9. Select 2-D as the type of map that you want to create, if it has not already been selected.


Adding Titles

You can customize the graph by adding titles and footnotes, changing the page dimensions, and selecting headings. Refer to Adding Titles for instructions on adding titles to the graph. Add the title United States Robbery Statistics as Title 1 for this graph.

Because the same set of titles and footnotes is used for all SAS/ASSIST tasks, the titles and footnotes most recently used in your SAS/ASSIST session are used unless you change or reset them in the Titles and Footnotes windows.


Running the Map

After you have finished setting up the graph, run it by following this selection path:

Run
[arrow]
Submit
The graph appears in the Graph window.

United States Robbery Statistics Map

[IMAGE]


Printing the Map

For most operating environments, you can print your graph by following this selection path from the Graph window:

File
[arrow]
Print...
However, some operating environments and hardware may require some set-up prior to printing graphics. If you have trouble printing graphics, see the SAS companion for your operating environment or contact the SAS Support Consultant at your site for further instructions.


Exiting This Task

When you are done viewing or printing your graph, return to the Maps window by using one of the following methods, depending on your operating environment:

To return to the WorkPlace menu or move on to another task, follow the directions in Exiting a Task.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.