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: labelling specific values on a graph


From   Phil Schumm <[email protected]>
To   Statalist Statalist <[email protected]>
Subject   Re: st: labelling specific values on a graph
Date   Wed, 11 Dec 2013 21:51:45 -0500

On Dec 11, 2013, at 9:32 PM, Ariel Linden <[email protected]> wrote:
> Is there a way to get labels for specific values on a graph (any graph) as opposed to all or nothing using mlabel(var)?
> 
> I would like to highlight a few data points, rather than provide labels to all of them.


A couple options here, but perhaps the simplest is just to generate a new variable containing only those labels you want to expose (with the others all set to missing), and pass that to -mlab()-.


-- Phil


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index