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.

Chapter 14 Creating Contour Plots 373<br />

Example of a Contour Plot<br />

Example of a Contour Plot<br />

To create a contour plot, you need two variables for the x- <strong>and</strong> y-axes <strong>and</strong> at least one more variable for<br />

contours. You can also use several y-variables. This example uses the Little Pond.jmp sample data table. X<br />

<strong>and</strong> Y are coordinates of a pond. Z is the depth.<br />

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

2. Select Graph > Contour Plot.<br />

3. Select the X <strong>and</strong> Y coordinates <strong>and</strong> click X.<br />

4. Select the depth, Z, <strong>and</strong> click Y.<br />

Note: In a contour plot, the X1 <strong>and</strong> X2 roles are used for the X <strong>and</strong> Y axes.<br />

5. Click OK.<br />

Figure 14.2 Example of a Contour Plot with Legend<br />

The x- <strong>and</strong> y-axes are coordinates <strong>and</strong> the contour lines are defined by the depth variable. This contour plot<br />

is essentially a map of a pond showing depth.<br />

Launch the Contour Plot Platform<br />

Launch the Contour Plot platform by selecting Graph > Contour Plot.<br />

By default, the contour levels used in the plot are values computed from the data. You can specify your own<br />

number of levels <strong>and</strong> level increments in the Launch window before you create the plot. You can also do so<br />

in the red triangle menu for Contour Plot after you create the plot. You can use a column formula to<br />

compute the contour variable values.

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

Saved successfully!

Ooh no, something went wrong!