Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Weighted scatterplot with -mlabel-

From   "Richard Upward" <>
To   <>
Subject   st: Weighted scatterplot with -mlabel-
Date   Thu, 08 Jun 2006 09:09:19 +0100

Dear Statalisters

I am trying to produce a weighted scatterplot which includes labels for each point.  But when I use the -msymbol- option, the weighting seems to be removed.  A silly example:

sysuse auto
scatter price mpg [fweight=weight]
scatter price mpg [fweight=weight], mlabel(make)

The first scatter command weights the points, the second does not.  Is this behaviour a "bug" or a "feature", or am I missing something obvious?

I am using Stata/SE 9.2 for Windows
Born 17 May 2006


Richard Upward
School of Economics
University of Nottingham
University Park
Nottingham NG7 2RD
Tel: +44 (0) 115 95 14735

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

*   For searches and help try:

© Copyright 1996–2022 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index