Statalist


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

st: Re: Displaying mean in boxplot


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Re: Displaying mean in boxplot
Date   Sun, 12 Oct 2008 14:14:06 +0200

**********
sysuse auto, clear
su price, mean
graph box price, box(1, fcolor(none)) yline(`r(mean)')
**********

HTH
Martin _______________________ ----- Original Message ----- From: "Aca N.T." <acant29@gmail.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Sunday, October 12, 2008 12:57 PM
Subject: st: Displaying mean in boxplot


Hello,

Does anyone know how to put mean (preferably marked as dot) within the
box using -gr box-?

Thanks,
Aca
*
*   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   |   What's new   |   Site index