Previous Page | Next Page

Graphics

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

[United States Robbery Statistics Map]


Instructions

  1. To create a map like the one shown in the previous display, follow this selection path:Tasks [arrow] Graphics [arrow] MapsThe Maps window appears.

    Maps Window

    [Maps Window]

  2. If task selections exist (for example, a country name is listed for Map), then selectFile [arrow] Newto clear these selections.

  3. Select Map. The Select Continent window appears.

    Select Continent Window

    [Select Continent Window]

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

    Select Country Window

    [Select Country Window]

  5. Scroll down the list and select UNITED STATES (US). The Maps window reappears with UNITED STATES (US) listed for Map.

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

    Note:   Some maps require two columns (for example, STATE and COUNTY) to uniquely identify each area.  [cautionend]

  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] SubmitThe graph appears in the Graph window.

United States Robbery Statistics Map

[United States Robbery Statistics Map]


Printing the Map

For most operating environments, you can print your graph by following this selection path from the Graph window:File [arrow] PrintHowever, 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.

Previous Page | Next Page | Top of Page