I'd like to completely remove the gap between bars of a twoway histogram. The option 'gap' defaults to gap(0), which is the shortest gap as gap values must be between 0 and 100. To replicate what I've done:
Changing the blwidth to something other than 'none' helps but doesn't completely remove the gap between bars:
Changing the blcolor to something different than the bar color helps to show the problem:
I'm guessing there's simply no way to remove the gap completely, but hoping I'm wrong.
Code:
sysuse auto twoway histogram displacement, freq width(10) bcolor(black) blcolor(black) blwidth(none) gap(0) plotregion(margin(zero) lwidth(none))
Changing the blwidth to something other than 'none' helps but doesn't completely remove the gap between bars:
Code:
twoway histogram displacement, freq gap(0) width(10) bcolor(black) blcolor(black) blwidth(medthin) plotregion(margin(zero) lwidth(none))
Changing the blcolor to something different than the bar color helps to show the problem:
Code:
twoway histogram displacement, freq gap(0) width(10) bcolor(black) blcolor(pink) blwidth(medthin) plotregion(margin(zero) lwidth(none))
I'm guessing there's simply no way to remove the gap completely, but hoping I'm wrong.
Comment