Procedure features: |
|
Data set: |
DJIA
|
This example specifies values for the horizontal axis and draws a
reference
line from the vertical axis.
|
options nodate pageno=1 linesize=80 pagesize=35; |
|
proc plot data=djia;
plot high*year='*' |
|
/ haxis=1950 to 1995 by 5 vref=3000; |
|
title 'High Values of Dow Jones Industrial Average';
title2 'from 1954 to 1994';
run; |
High Values of Dow Jones Industrial Average 1
from 1954 to 1994
Plot of High*Year. Symbol used is '*'.
High |
|
4000 + *
| *
|
| *
| *
3000 +----------------------------------------------------------------*---------
| * *
|
|
| *
2000 + *
|
| *
|
| **
1000 + * ** ** ** * ** * * **
| ** ** * * * *
| ** ** *
| * *
|
0 +
|
-+-------+-------+-------+-------+-------+-------+-------+-------+-------+-
1950 1955 1960 1965 1970 1975 1980 1985 1990 1995
Year
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.