Statalist The Stata Listserver


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

Re: st: Box graph question


From   smerryman@kc.rr.com
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Box graph question
Date   Wed, 01 Nov 2006 12:52:23 -0600

----- Original Message -----
From: n j cox <n.j.cox@durham.ac.uk>
Date: Wednesday, November 1, 2006 12:16 pm
Subject: Re: st: Box graph question
To: statalist@hsphsun2.harvard.edu

<snip>
 
> // use -line- or -connected- not -scatter-
> twoway scatter mean rep78 || ///
> rbar mean max rep78, bcolor(none) barw(0.2) || ///
> rbar mean min rep78, bcolor(none) barw(0.2) || ///
> rbar meanmsd meanpsd rep78 , barw(0.1) bcolor(red) || ///
> legend(off) ytitle(Miles per gallon) yla(, ang(h)) ///
> note(red bars: mean +/- sd; empty bars show range)
> 

Very nice and inventive.

It does looks like there needs to be a comma after "...bcolor(red) ||" 

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/



© Copyright 1996–2023 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index