You can eliminate the lower plot region margin.
For example:
sysuse auto,clear
collapse (mean) mpg, by(rep)
graph twoway bar mpg rep, fcolor(white) lcolor(black) plotregion
(margin(b = 0))
Scott
----- Original Message -----
From: Jason Thompson <[email protected]>
Date: Tuesday, May 8, 2007 1:47 pm
Subject: st: no space between graph bars and x-axis
To: statalist <[email protected]>
> Can someone direct me to the graph option which positions bars
> directly on the x axis, rather than floating slightly above it?
> Simple code included below for concreteness. The correct -findit-
> term would do wonders as my Stata graphing lexicon is woefully
> incomplete. Many thanks.
>
> graph twoway bar meanpf MH_gap, fcolor(white) lcolor(black)
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/