Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: Invisible axis

From   Scott Merryman <>
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)


On Tue, May 11, 2010 at 7:05 AM, Nick Cox <> 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
*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index