Dear all:

I have a categorical variable with vastly unequal frequencies. I would like to display the frequencies on a log scale. I cannot seem to get the right syntax, though. Here is a simple example:

clear
input x freq
0 3
1 50
2 500
end;
expand freq

graph hbar (count) , over(x) // this works, not on a log scale
graph hbar (count) , over(x) yscale(log) // does not work, weird graphical result

Does anybody have a suggestion?

Thanks,

matthias