



proc template;
define statgraph mygraphs.regplot;
begingraph;
entrytitle "Regression Plot";
layout overlay;
modelband "mean";
scatterplot x=height y=weight;
regressionplot x=height y=weight / clm="mean";
endlayout;
endgraph;
end;
run;
ods listing style=analysis;
ods graphics / reset imagename="reg" width=500px;
proc sgrender data=sashelp.class template=mygraphs.regplot;
run;
