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.

302 Interactive Data Visualization Chapter 10<br />

Additional Examples Using Graph Builder<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\10\Samples\Import Data<br />

– On Mac: /Library/Application Support/JMP/10/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 7 <strong>and</strong> Vista: C:\Users\user name\AppData\Local\<strong>SAS</strong>\JMP\Maps<br />

– On Windows XP: C:\Documents <strong>and</strong> Settings\user name\Local Settings\<br />

Application Data\<strong>SAS</strong>\JMP\Maps<br />

– On Mac: /Users/user name/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\10\Samples\Import Data<br />

– On Mac: /Library/Application Support/JMP/10/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.<br />

2. In the Parishes file, add a new column. Name it Shape ID. Drag <strong>and</strong> drop it to be the first column.<br />

3. In the first three rows of the Shape ID column, type 1, 2, <strong>and</strong> 3.<br />

4. Select all three cells, right-click, <strong>and</strong> select Fill > Continue sequence to end of table.<br />

Figure 10.41 Shape ID Column in Parishes File

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

Saved successfully!

Ooh no, something went wrong!