TITLE 'Example SAS program to display a simple graph on PC Telnet Screen'; TITLE2 'File is /sas/examples/fig2.sas'; data scores; /* data set */ input name $ 1-3 age 5-6 score 8-10; cards; sam 26 80 joe 22 75 ted 20 68 tim 19 55 bob 30 74 jim 35 66 tom 38 52 ; /* Graphics options */ goptions device=tek4014; /* this device is the one for NCSA PC-Telnet */ axis1 order = (0 to 50 by 10) /* horizontal (x) axis parameters */ label = ('Age') minor = none origin = (20 pct, 15 pct) offset = (0, 0) length = 60 pct; axis2 order = (0 to 100 by 20) /* vertical (y) axis parameters */ label = ('Test Score') minor = none origin = (20 pct, 15 pct) offset = (0, 0) length = 30 pct; proc gplot data=scores; /* plot score on the y axis, age on the x axis */ plot score * age/ haxis = axis1 vaxis = axis2; run; /***********************************************************************/ /* When you run this command file, follow the directions as they are */ /* are presented to you. You will have to press return ONCE to dis- */ /* play the graph on your screen. When you have finished viewing it */ /* press the key and then the key to return to the */ /* system prompt. */ /* If you need assistance with SAS please contact the statistical */ /* consultants at the ITC Research Computing Support Center at */ /* 244 Wilson Hall - 243-8000 M-F 9-5 or */ /* mail res-consult@virginia.edu */ /***********************************************************************/