Procedure features: |
PROC
PLOT statement options
|
|
Data set: |
DJIA
|
This example puts three plots on one page of output.
|
options nodate pageno=1 linesize=120 pagesize=60; |
|
proc plot data=djia vpercent=50 hpercent=50; |
|
plot high*year='*'; |
|
plot low*year='o'; |
|
plot high*year='*' low*year='o' / overlay box; |
|
title 'Plots of the Dow Jones Industrial Average';
title2 'from 1954 to 1994';
run; |
Plots of the Dow Jones Industrial Average 1
from 1954 to 1994
Plot of High*Year. Symbol used is '*'. Plot of Low*Year. Symbol used is 'o'.
4000 + * 4000 +
| * |
| | o
| * | o
High | * Low | o
| ** |
| * |
| | oo
| * | o
2000 + * 2000 +
| | oo
| * | o
| ** |
| ** * *** | ooo
| ******** ** *** | o oo ooo oo o o
| ****** | ooo oo o oo oo o o o
| **** | oooo o
| | o
0 + 0 +
-+---------+---------+---------+---------+---------+- -+---------+---------+---------+---------+---------+-
1950 1960 1970 1980 1990 2000 1950 1960 1970 1980 1990 2000
Year Year
Plot of High*Year. Symbol used is '*'.
Plot of Low*Year. Symbol used is 'o'.
-+---------+---------+---------+---------+---------+-
4000 + * +
| * |
| * o |
| *oo |
High | * |
| * * |
| o |
| *oo |
2000 + * o +
| o |
| *o |
| **o |
| ****** ************oo |
| *****oooooo*o o oooooooo |
| *****oooo o |
| o |
0 + +
-+---------+---------+---------+---------+---------+-
1950 1960 1970 1980 1990 2000
Year
NOTE: 7 obs hidden.
|
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.