Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: missing grid line when defining ylabel for a bar graph
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
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
[email protected]
On 19 April 2013 18:19, Jacob McDermott <[email protected]> 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/