There are a few methods you can use, for example from a dataset which has the loop elements:
data _null_;
set loop;
call execute('proc sgplot data=have (where=(variable="'||strip(loop_item)||'")); vbox x=x y=y; run;');
run;
Or proc template:
proc template;
define statgraph regress;
dynamic TICKS ;
begingraph;
layout overlay /xaxisopts=(linearopts=(tickvaluelist=TICKS));
scatterplot x=age y=weight;
endlayout;
endgraph;
end;
run;
proc sgrender data=sashelp.class template=regress;
dynamic TICKS="11 13 16" ;
run;
If you need some graph coding examples, check this blog:
http://blogs.sas.com/content/graphicallyspeaking/
However, I would of thought that there are far better ways to check data than scrolling through a whole load of graphs manually. I don't know what you have to check but there a numerous data cleaning techniques which can be applied, upper/lower bounds, windows aggregates (i.e. mean per group on one graph) etc.
... View more