[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Strange interaction between weights and the -mlabel()-
Thanks to Vince for this information, and thanks in advance to StataCorp
for the future documentation update.
For what it's worth, there is a workaround. You can type
. twoway scatter mpg weight [awei=price] || scatter mpg weight , mlab(make)
msym(none) || , legend(off)
and get what I hoped to get by typing (in error)
. twoway scatter mpg weight [awei=price], mlab(make)
It might look even better with a -mlabgap()- option on the second plot.
At 20:45 22/11/2004, Vince Wiggins wrote:
Roger Newson <firstname.lastname@example.org> asks about labeling weighted marker
symbols on a scatter plot,
> [...] However, if I type
> . twoway scatter mpg weight [awei=price], mlab(make)
> then -mpg- is plotted against -weight-, and the symbols are labelled
> by -make-, but are unweighted. [...]
-scatter- does not allow weights to be combined with marker labels, and I
thought that limitation was documented. If it is, I can't find it. The
documentation will be updated to reflect this "feature".
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Opinions expressed are those of the author, not the institution.
* For searches and help try: