Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: How do I get rid of that line beneath my axes?


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: How do I get rid of that line beneath my axes?
Date   Tue, 16 Mar 2004 20:46:17 -0600

I believe the sub-option you want is -axis(off)-,  unfortunately this only works
with the -over()- option not -by()-.

However, does this produce what you want?

. clear

. sysuse auto
(1978 Automobile Data)

. gen foo = 1

. graph bar (mean) mpg trunk, over(foo, axis(off)) by(rep) scheme(economist)


Scott

----- Original Message ----- 
From: "Ernest Berkhout" <ernestb@seo.fee.uva.nl>
To: <statalist@hsphsun2.harvard.edu>
Sent: Tuesday, March 16, 2004 11:55 AM
Subject: st: How do I get rid of that line beneath my axes?


> Hi all,
>
> I studied the graphics manual for hours but i still can't find that
> annoying small option to be turned off, so before turning completely mad i
> might better first ask the Statalist... :-)
>
> I have a barchart, that is actually multiple barcharts because i use the
> 'by'-option, graphed with the economist-style sheet. I get nice white
> horizontal gridlines, ranging from -1 to 3. But below the lowest gridline
> is another _black_ horizontal line that i want to disappear.
>
> As i understand it right, this must be at the bottom of the outer
> plot-region? But it won't disappear if i specify
> "plotregion( lwidth(none) )"
> either inside or outside the "by()"-construct. What am i missing??
>
> (BTW: i use Stata 8.2 uptodate)
>
> Tia,
> Ernest Berkhout
> Stichting voor Economisch Onderzoek
> Universiteit van Amsterdam
>
> Kamer 3.08
> Roetersstraat 29
> 1018 WB Amsterdam
>
> tel.:+ 31 20 525 1630
> fax:+ 31 20 525 1686
> http://www.seo.nl
> =================================
> "To an economist, real life is a special case"
> =================================
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index