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

st: Re: Labeling scatter points when graphing


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   st: Re: Labeling scatter points when graphing
Date   Wed, 28 Jan 2004 18:36:13 -0600

Adrian,

It should be: mlabv(pos) - only one "l"

The example given in the text is incorrect, however, the clickable example in
the help file does produce the right syntax.

Scott

----- Original Message ----- 
From: "de la Garza, Adrian" <[email protected]>
To: <[email protected]>
Sent: Wednesday, January 28, 2004 5:44 PM
Subject: st: Labeling scatter points when graphing


> Hello! I need some help with a graphing problem...!
>
> I need to graph a scatter plot and label the points. The problem I have
> is that the labels overlap. I found a way to solve this problem in the
> Stata v8 manual (p. 406). They suggest to create a variable -pos- with
> the position of the label and then specify the position of the label
> when graphing using the option -mlablv-. This option -mlablv-, however,
> is not recognized by my Stata v8 program. This is what I am doing:
>
> gen pos = 3
> replace pos = 9 if country == "Thailand" | country == "Russia"
> twoway scatter rating date, mlabel(country) mlablv(pos)
>
> but I get the following error message:
>
> option mlablv() not allowed
> invalid syntax
> r(198);
>
> Am I doing something wrong?
>
> Thanks a lot!
>
> Adrian
>

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index