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

st: Labeling scatter points when graphing


From   "de la Garza, Adrian" <[email protected]>
To   <[email protected]>
Subject   st: Labeling scatter points when graphing
Date   Wed, 28 Jan 2004 18:44:40 -0500

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