Graphics |
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
Instructions |
To create a map like the one shown in the previous display, follow this selection path:Tasks Graphics MapsThe Maps window appears.
Maps Window
If task selections exist (for example, a country name is listed for ), then selectFile Newto clear these selections.
Select . The Select Continent window appears.
Select Continent Window
Select North America, and then select . The Select Country window appears with a list of countries in North America.
Select Country Window
Scroll down the list and select UNITED STATES (US). The Maps window reappears with UNITED STATES (US) listed for .
Select , 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.
Select . 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.
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 SubmitThe graph appears in the Graph window.
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 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.
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.