Introduction to Plotting the Relationship between Variables

Overview

An effective way to examine the relationship between variables is to plot their values. You can use the PLOT procedure to display relationships and patterns in the data.
This section covers the following topics:
  • plot one set of variables
  • enhance the appearance of a plot
  • create multiple plots on separate pages
  • create multiple plots on the same page
  • plot multiple sets of variables on the same pair of axes

Prerequisites

To understand the examples in this section, you should be familiar with the following features and concepts:
  • the LOG function
  • the FORMAT statement
  • the LABEL statement
  • the TITLE statement

Get Step-by-Step Programming with Base SAS 9.4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.