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: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Marcos Feldman
> Sent: Sunday, March 06, 2005 10:54 AM
> To: [email protected]
> 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/