Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: several gr hbar but wants bar of same size


From   "b. water" <[email protected]>
To   [email protected]
Subject   Re: st: several gr hbar but wants bar of same size
Date   Tue, 21 Aug 2007 18:19:17 +0000

thank you scott.

indeed the gr command was wraped, leading to the error message.

the end product was not what i envisaged. i have now emailed scott privately with an attachment of what i am hoping to accomplish. i will update the list following scott's reply.

regards,
bw

ps: i have done it this way as one of the statalist's rules forbids attachment.

----Original Message Follows----
From: "Scott Merryman" <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: st: several gr hbar but wants bar of same size
Date: Tue, 21 Aug 2007 11:24:43 -0500

On 8/21/07, b. water <[email protected]> wrote:
<snip>
> . gr hbar noof if timetest=="`l'", over(test, sort(pos) gap(*`size')
> 11. label(labsize(*.65))) ///
> > ytitle("No. of studies") ysc(r(0 35)) ylab(0 (5) 35) ///
> > name(gr_`l',replace)
> 12. local name "`name' gr_`l'"
> 13. }
> 13
> 4.615384615384616
> parentheses do not balance
> r(198);
>
> end of do-file
> r(198);
>
> all the brackets () and {} included seems to be accounted for unless of
> course the error message alluded/refers to something else.

I believe the first line of the -graph bar- statement has been
wrapped. The -label(labsize(*.65)))- statement needs to be on the
same line as -gr hbar-

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

_________________________________________________________________
Booking a flight? Know when to buy with airfare predictions on MSN Travel. http://travel.msn.com/Articles/aboutfarecast.aspx&ocid=T001MSN25A07001

*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index