data broadriver; input obsno date date8. heightMax heightMin heightMean flowMax flowMin flowMean; cards; 1 31MAY04 4.11 3.58 3.76 2520 1640 1930 2 01JUN04 3.77 3.18 3.43 1950 1070 1429 3 02JUN04 4.95 3.64 4.3 4089 1739 2910 4 03JUN04 4.93 3.05 4.44 4050 907 3180 5 04JUN04 4.35 3.63 3.81 2920 1719 2020 6 05JUN04 3.74 3.19 3.62 1900 1080 1719 7 06JUN04 4.06 3.23 3.64 2440 1140 1760 8 07JUN04 5.15 3.25 3.83 4510 1160 2080 9 08JUN04 3.55 3.15 3.23 1600 1030 1140 10 09JUN04 4.97 3.22 4.46 4130 1120 3180 11 10JUN04 4.53 3.04 3.92 3250 895 2220 12 11JUN04 5.24 3.67 4.29 4700 1790 2870 13 12JUN04 4.49 3.12 3.74 3170 994 1910 14 13JUN04 4.88 3.53 4.6 3940 1570 3400 15 14JUN04 10.37 3.36 5.29 20100 1320 5790 16 15JUN04 5.41 3.14 4.32 5070 1019 3050 17 16JUN04 10.22 4.49 6.61 19600 3170 8740 18 17JUN04 14.93 5.2 8.03 37100 4610 13400 19 18JUN04 8.07 3.57 5.81 12700 1630 6210 20 19JUN04 7.48 4.48 5.27 10800 3160 4870 21 20JUN04 5.34 3.3 4.64 4920 1230 3570 22 21JUN04 5.55 3.32 4.72 5390 1260 3770 23 22JUN04 6.53 4.15 5.48 7910 2590 5330 24 23JUN04 12.21 4.41 6.08 26600 3030 7290 25 24JUN04 11.27 5.18 6.24 23200 4570 7480 26 25JUN04 8.23 5.17 5.98 13200 4550 6590 27 26JUN04 12.28 5.01 7.37 26800 4220 11100 28 27JUN04 14.28 5.2 8.65 34500 4610 15200 29 28JUN04 9.36 3.32 5.37 16700 1260 5590 30 29JUN04 6.52 5.26 5.63 7880 4740 5610 31 30JUN04 5.67 4.71 5.28 5679 3600 4810 ; run; ods listing close; *ods pdf file='e:\stat540files\Broad.pdf'; ods pdf file='/home/davidhitchcock/sasuser.v94/Broad.pdf'; /* works with SAS Studio */ proc gplot data = Broadriver; plot flowMean*date flowMax*date flowMin*date / vaxis=axis1 haxis=axis2 frame vref=0 overlay; title "USGS 02161000 BROAD RIVER AT ALSTON, SC"; title2 "Figure of Discharge vs. Date"; axis1 label = (a=90 'Discharge (cfs)'); axis2 label=('DATE: May 31, 2004 to June 30, 2004'); symbol1 v=dot h=.05 i=join ci=blue cv=blue; symbol2 v=dot h=.05 i=join ci=red cv=red; symbol3 v=dot h=.05 i=join ci=green cv=green; run; proc gplot data = Broadriver; plot heightMean*date heightMax*date heightMin*date / vaxis=axis1 haxis=axis2 frame vref=0 overlay; title "USG 02161000 BROAD RIVER AT ALSTON, SC"; title2 "Figure of Gage Height vs. Date"; axis1 label = (a=90 'Height (ft)'); run; ods pdf close; ods listing; /* ods rtf file='e:\stat540files\Broad.rtf'; ods rtf file='e:\stat540files\Broad.rtf' startpage=no; ods rtf close; */