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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: specifying marker labels in twoway scatter


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: specifying marker labels in twoway scatter
Date   Mon, 2 May 2011 19:10:19 +0100

Yes. Use -twoway scatteri-.

Nick

On Mon, May 2, 2011 at 7:02 PM,  <r.a.nobel@umail.leidenuniv.nl> wrote:
>
> 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?
*
*   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