proc template; define statgraph histogramparm; begingraph; entrytitle "Histogram of Vehicle Weights"; layout overlay; histogramparm x=midpoint y=frequency; endlayout; endgraph; end; run; data bins; input Midpoint Frequency; label midpoint="Vehicle Weight (LBS)"; datalines; 2000 18 3000 208 4000 159 5000 36 6000 6 7000 1 ; run; proc sgrender data=bins template=histogramparm; run;
datatransparency=0.2 fillattrs=(transparency=0.6)
TRUE | draws the axis ticks and value labels at the bin endpoints |
FALSE | draws the axis ticks and value labels at the bin midpoints |
datatransparency=0.2 fillattrs=(transparency=0.6)