Procedure features: |
PLOT
statement
|
plotting symbol in plot request | |
|
This example expands on
A Simple Plot by specifying a different plotting symbol.
|
options nodate number pageno=1 linesize=80 pagesize=35; |
|
data djia;
input Year @7 HighDate date7. High @24 LowDate date7. Low;
format highdate lowdate date7.;
datalines;
1954 31DEC54 404.39 11JAN54 279.87
1955 30DEC55 488.40 17JAN55 388.20
...more data lines...
1993 29DEC93 3794.33 20JAN93 3241.95
1994 31JAN94 3978.36 04APR94 3593.35
; |
|
proc plot data=djia;
plot high*year='*'; |
|
title 'High Values of the Dow Jones Industrial Average';
title2 'from 1954 to 1994';
run; |
|
High Values of the Dow Jones Industrial Average 1
from 1954 to 1994
Plot of High*Year. Symbol used is '*'.
High |
|
4000 + *
| *
|
| *
| *
3000 + *
| * *
|
|
| *
2000 + *
|
| *
|
| **
1000 + ***** *** *** ***
| **** * ** *
| *****
| **
|
0 +
|
---+---------+---------+---------+---------+---------+--
1950 1960 1970 1980 1990 2000
Year
| |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.