Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: specifying marker labels in twoway scatter


From   Nick Cox <[email protected]>
To   [email protected]
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,  <[email protected]> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index