I want my y-axis to be frequency. Why is it that when I use the frequency code, my graph turns out like this:

But it turns out fine when it is graphed using density as the y-axis

Please help, I want "frequency" for the y-axis, not "density"!
Code:
histogram Rating, by (Outcome) freq
But it turns out fine when it is graphed using density as the y-axis
Code:
hist Rating [fweight=Frequency], by (Outcome)
Please help, I want "frequency" for the y-axis, not "density"!
Comment