Search notes:

SAS: scatter plot with proc sgplot

data eggs_why;
  do i = 1 to 100;
     eggs = rand('norm');
     why  = eggs**2 + rand('unif')*3;
     output;
  end;
run;

ods graphics on;

proc sgplot data=eggs_why;
  title 'Scatter plot';
  scatter y=why x=eggs;
run;
Github repository about-SAS, path: /programming/proc/sgplot/scatter-plot.sas

See also

proc sgplot

Index