Hi all,
webuse auto, clear
hist mpg, freq
gives me a nice histogram and there is no gap between x-axis line and bar, like below.
But,
twoway histogram mpg, freq
gives me the same histogram but some "gap" between x-axis line and bar...
Is there any way to control this gap with "graph" or "twoway" command, not "histogram"? Surely, I played with yscale and ylabel options, but did not work.
I thought someone asked about this already. I tried to find a solution in Statalist, but couldn't find any.
Thanks in advance.
webuse auto, clear
hist mpg, freq
gives me a nice histogram and there is no gap between x-axis line and bar, like below.
But,
twoway histogram mpg, freq
gives me the same histogram but some "gap" between x-axis line and bar...
Is there any way to control this gap with "graph" or "twoway" command, not "histogram"? Surely, I played with yscale and ylabel options, but did not work.
I thought someone asked about this already. I tried to find a solution in Statalist, but couldn't find any.
Thanks in advance.
Comment