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: Why is the legend in xtline limited to 2 to 15?
From
Scott Merryman <[email protected]>
To
[email protected]
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 <[email protected]> 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/