
31Line Plots
3.3.2.2.3 Producing the Two Mortgage Line Plots in SGPLOT
• A SERIES plot statement is used to draw line plots for the average
mortgage rates and points from 1972 to 2012.
• A HighLow plot statement is used to display the maximum and min-
imum mortgage rate and point values for each year. In producing
Figure3.3, which has both the mortgage rates and points displayed
on the same y-axis, one YAXIS statement is used to specify the data
range and label for both rates and points. A KEYLEGEND statement
is used to show legends to distinguish the rate and pointlines.
FILENAME GSASFILE “&OUTLOC./Figure3.3.&EXT”;
ods proclabel = “Rates and ...