14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 12 Creating Overlay Plots 339<br />

Example of an Overlay Plot<br />

Example of an Overlay Plot<br />

This example shows you how to plot two variables on a single y-axis.<br />

1. Open the Spring.jmp sample data table.<br />

The table has a row for each day in the month of April. The column named April is the numeric day of<br />

the month, <strong>and</strong> the remaining columns are various weather statistics.<br />

2. Select the Overlay Plot comm<strong>and</strong> from the Graph menu.<br />

3. Select Humid1:PM <strong>and</strong> Humid4:PM <strong>and</strong> click Y.<br />

These two columns are the humidity measurements at 1:00 p.m. <strong>and</strong> 4:00 p.m.<br />

4. Select April <strong>and</strong> click X.<br />

5. Click OK.<br />

The plot shown in Figure 12.2 appears. Initially, this platform overlays all specified Y columns. The<br />

legend below the plot shows individual markers <strong>and</strong> colors that identify each Y column.<br />

Figure 12.2 Plot with Legend<br />

To help you quickly differentiate between the Ys, select Y Options > Connect Points from the Overlay Plot<br />

red triangle menu. Adjacent points are connected for each Y variable, as shown in Figure 12.3.

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

Saved successfully!

Ooh no, something went wrong!