Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: specifying marker labels in twoway scatter


From   r.a.nobel@umail.leidenuniv.nl
To   statalist@hsphsun2.harvard.edu
Subject   st: specifying marker labels in twoway scatter
Date   Mon, 2 May 2011 20:02:38 +0200

Hello,

I was wondering: suppose you make a scatterplot with three points,
with:

twoway (scatter x y)

and want to label these three points/markers "A" "B" "C" , using the mlabel
option

twoway (scatter x y, mlabel(varname))

Is there a way to fill in the labels straight away, instead of first creating a
variable with the labels? for example by using a local macro or something like
that?

Kind regards,

Alex

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index