/*--Multi Histogram SAS 9.3--*/ ods listing image_dpi=100; ods graphics / reset width=5in height=3in imagename='MultiHistogram_93'; title 'Distribution of Blood Pressure'; proc sgplot data=sashelp.heart; histogram systolic / fillattrs=graphdata1 name='s' legendlabel='Systolic' transparency=0.5 binwidth=5; histogram diastolic / fillattrs=graphdata2 name='d' legendlabel='Diastolic' transparency=0.5 binwidth=5; keylegend 's' 'd' / location=inside position=topright across=1; xaxis display=(nolabel); run;