| Features: |
GOTIONS statement options: BORDER
|
| Sample library member: | GSYCMBP1 |
goptions reset=all border;
data 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: Grades by Section"; footnote1 j=r "GSYCMBP1(a) ";
symbol interpol=boxt20 /* box plot */
co=blue /* box and whisker color */
bwidth=4 /* box width */
value=square /* plot symbol */
cv=red /* plot symbol color */
height=2; /* symbol height */
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= grades;
plot grade*section / haxis=axis1
vaxis=50 to 100 by 10;
run;
footnote j=r GSYCMBP1(b);
symbol interpol=boxt10 width=2;
plot grade*section / haxis=axis1
vaxis=50 to 100 by 10;
run;
quit;data 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
;symbol interpol=boxt20 /* box plot */
co=blue /* box and whisker color */
bwidth=4 /* box width */
value=square /* plot symbol */
cv=red /* plot symbol color */
height=2; /* symbol height */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;