Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: missing grid line when defining ylabel for a bar graph |
Date | Fri, 19 Apr 2013 19:23:07 +0100 |
Use -yscale(r(., 10000))- as well to extend the axis range. Nick njcoxstata@gmail.com On 19 April 2013 18:19, Jacob McDermott <jpmcd87@gmail.com> wrote: > For an hbar graph I am extended the yaxis to correspond with the yaxis of > another hbar. When I do this, the grid line for the final yaxis label does > not appear. What am I missing? Is there an easy way to add one? > > For example: > sysuse auto > graph hbar (mean) price, over(rep78) ylabel(2000 4000 6000 8000 10000) > > the grid line at 10,000 does not appear. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/