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, statalist.org is already up and running.


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

Re: st: RE: Invisible axis


From   Ricardo Ovaldia <ovaldia@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Invisible axis
Date   Mon, 10 May 2010 12:43:00 -0700 (PDT)

Thank you Nick and Martin
The suggestion works for the scatter plot but for the bar graph, I can get rid of the y-axis but not the x-axis:

. sysuse auto, clear
. graph bar  price  weight, ysc(off)  showyvar legend(off)

. graph bar  price  weight, ysc(off)  xsc(off) showyvar legend(off)
xscale(off) not allowed, xaxis1 does not exist


Ricardo

Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


--- On Mon, 5/10/10, Martin Weiss <martin.weiss1@gmx.de> wrote:

> From: Martin Weiss <martin.weiss1@gmx.de>
> Subject: st: RE: Invisible axis
> To: statalist@hsphsun2.harvard.edu
> Date: Monday, May 10, 2010, 1:13 PM
> 
> <>
> 
> ***********
> sysuse auto, clear
> graph bar (mean) price, over(rep78, axis(off))
> ***********
> 
> 
> HTH
> Martin
> 
> 
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]
> On Behalf Of Ricardo Ovaldia
> Sent: Montag, 10. Mai 2010 20:06
> To: Statalist
> Subject: st: Invisible axis
> 
> In a -graph twoway- is there a way to make the y-axis
> invisible?
> Also in -graph bar- is there a way to make the x-axis
> invisible?
> 
> Thank you,
> Ricardo
> 
> Ricardo Ovaldia, MS
> Statistician 
> Oklahoma City, OK
> 
> 
>       
> *
> *   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/
> 
> *
> *   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/
> 


      

*
*   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/


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