In reply to Ola.

You can us the REG statement in PROC SGPLOT, as follows:

proc sgplot data=sashelp.class;
reg x=height y=weight;
run;