Here is the Code and I use SAS 9.4: proc sgplot data=test2; histogram T1 / scale=percent binwidth=0.25 fillattrs=(color='#C5AE45' ) legendlabel= "Vehicle group (VG)"; histogram T2 / scale=percent binwidth=0.25 fillattrs=(color='#216771' ) legendlabel = "Dose group (DG)" ; refline 0.309 / axis = x LINEATTRS= (color='#C5AE45' PATTERN=dash thickness=2)label="Geom. mean"; refline 0.575/ axis = x LINEATTRS= (color='#C5AE45' PATTERN=shortdashdot thickness=2)label="Median"; refline 1.592 / axis = x LINEATTRS= (color='#C5AE45' PATTERN=solid thickness=2)label="Arithm. mean; refline 15.653 / axis = x LINEATTRS= (color='#216771' PATTERN=dash thickness=2)label="Geom. mean" transparency=0.5; refline 13.599 / axis = x LINEATTRS= (color='#216771' PATTERN=shortdashdot thickness=2)label="Median" transparency=0.5 ; refline 18.879 / axis = x LINEATTRS= (color='#216771' PATTERN=solid thickness=2)label="Arithm. mean" transparency=0.5 ; run;
... View more