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/