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, is already up and running.

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

st: specifying marker labels in twoway scatter

Subject   st: specifying marker labels in twoway scatter
Date   Mon, 2 May 2011 20:02:38 +0200


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

twoway (scatter x y)

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

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

Kind regards,


*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index