The PLOT procedure plots the values of two variables for each observation in an input
SAS data set. The coordinates of each point on the plot correspond to the two variables'
values in one or more observations of the input data set.
The following output is a simple plot of the high values of the Dow Jones Industrial
Average (Dija) between 1968 and 2008. PROC PLOT determines the plotting symbol
and the scales for the axes. Here are the statements that produce the output:
options nodate pageno=1 linesize=64
pagesize=25;
proc plot data=djia;
plot high*year;
title 'High Values of the Dow Jones';
title2 'Industrial Average'; ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.