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: RE: Invisible axis
From
Scott Merryman <[email protected]>
To
[email protected]
Subject
Re: st: RE: Invisible axis
Date
Tue, 11 May 2010 07:36:14 -0500
If you want it to look like the original example:
graph bar price weight, ysc(off) showyvar legend(off)
you could do something like:
sysuse auto,clear
gen foo =1
graph bar price weight, over(foo, axis(off))
graphregion(margin(b+5)) blabel(name, pos(base) size(*1.1) gap(*-3) )
legend(off) yscal(off)
Scott
On Tue, May 11, 2010 at 7:05 AM, Nick Cox <[email protected]> wrote:
> But that's not necessary.
>
> sysuse auto
> graph bar mpg, over(foreign)
> graph bar mpg, over(foreign, axis(off))
> graph bar mpg, over(foreign, axis(off)) plotregion(lcolor(none))
>
> shows that you don't _need_ to use the editor or rewrite as -twoway- for this purpose.
>
> Nick
> [email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/