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

st: mlabel or Labels options with Ciplot


From   "Daniel Egan" <heteroskedastic@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: mlabel or Labels options with Ciplot
Date   Tue, 25 May 2004 23:05:58 -0400

Good evening,

A minor detail of the options with -ciplot-: I would like to be able to use
labels with the mean markers that represent various things (right now,
number of observations in each category).

sysuse auto, clear
egen n=count(foreign), by(foreign)
table foreign n
ciplot mpg, by(foreign) mlab(n)

These labels always only correspond to the value of the first categorical
label, i.e., category 2's label is the value for category one.

How might I go about having each label value correspond to the category
specific value? Would I need eclplot for this?

Thanks in advance,

Dan Egan


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