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

st: RE: id labels in box plots


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: id labels in box plots
Date   Sun, 6 Mar 2005 12:03:39 -0600

Take a look at the -marker- option with the -mlabel- suboption.

For example:

sysuse auto

bysort fore: gen id = _n

graph box mpg , over(fore) marker(1, mlabel(id))

Hope this helps,
Scott


> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of Marcos Feldman
> Sent: Sunday, March 06, 2005 10:54 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: id labels in box plots
> 
> Dear list:
> 
> can someone please help with the following:
> 
> How can I label the id number of observations
> (particularly extreme values) in the stata box plot
> (either "gr box" or "gr7 X, box")? Thank you.



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