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: xtline line appearances


From   Kim Peeters <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: xtline line appearances
Date   Tue, 3 Jan 2012 23:47:25 -0800 (PST)

Dear Nick,
 
Thank you for the fast reply. Your syntax works perfectly.
My apologies for guessing, unfortunately I must have missed this syntax in the
help file.
 
Best regards,
Kim


----- Original Message -----
From: Nick Cox <[email protected]>
To: [email protected]
Cc: 
Sent: Tuesday, January 3, 2012 8:00 PM
Subject: Re: st: xtline line appearances

I don't know why you tried that syntax: you're just guessing! The help
for -xtline- implies that your syntax should replace

lp(1 solid) lw(1 medthick) lc(1 black) ///
lp(2 dash) lw(2 medthick) lc(2 black) ///
lp(3 dot) lw(3 medthick) lc(3 black)

with

plot1opts(lp(solid) lw(medthick) lc(black)) ///
plot2opts(lp(dash) lw(medthick) lc(black)) ///
plot3opts(lp(dot) lw(medthick) lc(black))

Nick

On Tue, Jan 3, 2012 at 5:52 PM, Kim Peeters <[email protected]> wrote:

> I have a question regarding xtline. I would like to change the appearance of the three different panel-data lines.
>
>
> xtline count, overlay xscale(range(1995 2009)) xlabel(1995(2)2009) ylabel(,angle(horizontal)) ///
> ytitle("Number of Games") legend(on ring(0) pos(11) col(1)) xtitle("Year") ///
> lp(1 solid) lw(1 medthick) lc(1 black) ///
> lp(2 dash) lw(2 medthick) lc(2 black) ///
> lp(3 dot) lw(3 medthick) lc(3 black)
>
>
>
> Unfortunately, I always receive an error message.
*
*   For searches and help try:
*  http://www.stata.com/help.cgi?searchhttp://www.stata.com/support/statalist/faqhttp://www.ats.ucla.edu/stat/stata/


*
*   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