* to put 8 graphs on the same page by using overlay ; data a; input x1 y1 @@; /* x1=_n_ ; *or you can put x1+1 will do the same thing. */; datalines; 1 2 2 4 3 8 4 6 5 9 ; run; /* Create the graph */ proc gplot data=a; plot (y1 )*x1 / overlay haxis=axis1 vaxis=axis2 legend; axis1 offset=(5,5); axis2 order=(0 to 10 by 1) minor=none; symbol1 i=join v=star c=red ; run; quit;