/* plot.sas */ TITLE ; OPTIONS ps=58 ls=78 nodate pageno=1; DATA class; INPUT name $ sex $ age height weight; CARDS; john m 12 59.0 99.5 james m 12 57.3 83.0 alfred m 14 69.0 112.5 william m 15 66.5 112.0 jeffrey m 13 62.5 84.0 ronald m 15 67.0 133.0 thomas m 11 57.5 85.0 philip m 16 72.0 150.0 robert m 12 64.8 128.0 henry m 14 63.5 102.5 janet f 15 62.5 112.5 joyce f 11 51.3 50.5 judy f 14 64.3 90.0 carol f 14 62.8 102.5 jane f 12 59.8 84.5 louise f 12 56.3 77.0 barbara f 13 65.3 98.0 mary f 15 66.5 112.0 alice f 13 56.5 84.0 PROC SORT; by height; run; PROC PRINT; run; PROC PLOT; plot weight*height; plot weight*height=sex; plot weight*height='*'; plot weight*height='*' $ name; RUN;