14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

428 Creating Maps Chapter 16<br />

Examples of Creating Maps<br />

Examples of Creating Maps<br />

The following are examples of creating <strong>and</strong> using maps to find <strong>and</strong> display patterns in your geographical<br />

data.<br />

Louisiana Parishes Example<br />

In this example you work with custom map files <strong>and</strong> then create custom maps in two different ways:<br />

• Set up custom map files initially <strong>and</strong> save them in the predetermined location. JMP finds <strong>and</strong> uses them<br />

in the future with any appropriate data.<br />

• Point to specific predefined map files directly from your data. This step might be required each time you<br />

want to specify custom maps.<br />

Set Up Automatic Custom Maps<br />

Suppose that you have downloaded ESRI shapefiles from the Internet <strong>and</strong> you want to use them as your<br />

map files in JMP. The shapefiles are named Parishes.shp <strong>and</strong> Parishes.dbf. These files contain coordinates<br />

<strong>and</strong> information about the parishes (or counties) of Louisiana.<br />

Save the .shp file with the appropriate name <strong>and</strong> in the correct directory, as follows:<br />

1. In JMP, open the Parishes.shp file from the following default location:<br />

– On Windows: C:\Program Files\<strong>SAS</strong>\JMP\\Samples\Import Data<br />

– On Mac: /Library/Application Support/JMP//Samples/Import Data<br />

Note: If you cannot see the file, you might need to change the file type to All Files.<br />

JMP opens the file as Parishes. The .shp file contains the x <strong>and</strong> y coordinates.<br />

2. Save the Parishes file with the following name <strong>and</strong> extension: Parishes-XY.jmp. Save the file here:<br />

– On Windows: C:\Users\\AppData\Local\<strong>SAS</strong>\JMP\Maps<br />

– On Mac: /Users//Library/Application Support/JMP/Maps<br />

Note: If the Maps folder does not already exist, you need to create it.<br />

3. Close the Parishes-XY.jmp file.<br />

Perform the initial setup <strong>and</strong> save the .dbf file, as follows:<br />

1. Open the Parishes.dbf file from the following default location:<br />

– On Windows: C:\Program Files\<strong>SAS</strong>\JMP\\Samples\Import Data<br />

– On Mac: /Library/Application Support/JMP//Samples/Import Data<br />

Note: If you cannot see the file, you might need to change the file type to All Files.<br />

JMP opens the file as Parishes. The .dbf file contains identifying information.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!