Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Scott Merryman <scott.merryman@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Why is the legend in xtline limited to 2 to 15? |
Date | Wed, 12 Mar 2014 09:23:53 -0500 |
Rather than using -xtline- you can use -line- with the ascending connect style: webuse grunfeld,clear line kstock year, c(L) lc(gs13..) /// || line kstock year if com == 1, lc(black) /// || line kstock year if com == 3, lc(black) /// || , legend(order(2 "Compnay 1" 3 "Compnay 3")) Scott On Wed, Mar 12, 2014 at 8:57 AM, Nirina F <fstata@gmail.com> wrote: > Thank you very much Nick for taking the time to respond and for the > valuable response. I did use overlay and I agree, I mostly need to > emphasize 5 countries that stand out most of the time but I still need > to put in the 17 or 20 countries. > * * 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/