Hi, could there be an error in the code? The second PROC SGPLOT call gives me an error - looks like the binwidth= option cannot be used in conjunction with HISTOGRAM. I have version 9.22 running here.