![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS/GRAPH Software: Reference |
SYMBOL statement options:
|
Sample library member: GR08N04
Assign the libref and set the graphics environment.
libname reflib `SAS-data-library';
goptions reset=global gunit=pct border cback=white
colors=(black blue green red)
ftitle=swissb ftext=swiss htitle=6
htext=4;
data reflib.grades; input section $ grade @@; datalines; A 74 A 89 A 91 A 76 A 87 A 93 A 93 A 96 A 55 B 72 B 72 B 84 B 81 B 97 B 78 B 88 B 90 B 74 C 62 C 74 C 71 C 87 C 68 C 78 C 80 C 85 C 82 ;
title1 'Comparison of Grades by Section'; footnote1 j=r h=3 'GR08N04(a) ';
symbol interpol=boxt20
co=blue
bwidth=6
value=square
cv=red
height=4;
axis1 label=none
value=(t=1 'Monday' j=c 'section'
t=2 'Wednesday' j=c 'section'
t=3 'Friday' j=c 'section')
offset=(5,5)
length=50;
proc gplot data=reflib.grades;
plot grade*section / haxis=axis1
vaxis=50 to 100 by 10;
run;
footnote j=r h=3 'GR08N04(b) ';
symbol interpol=boxt10 width=2;
plot grade*section / haxis=axis1
vaxis=50 to 100 by 10;
run;
quit;
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.