Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: xlines in two patterns


From   n j cox <[email protected]>
To   [email protected]
Subject   Re: st: xlines in two patterns
Date   Tue, 13 Dec 2005 11:15:31 +0000

sysuse auto

scatter mpg weight , xli(2000 4000, lp(dash))
|| scatter mpg weight, ms(none) xli(2500 3500, lp(solid)) legend(off)


Jagath Dissanayake <[email protected]>

I need to draw several xlines on a graph in two patterns(say solid and longdash). I can draw several xlines in a particular pattern(long dash) using the following command.

xline( 1967 1971 1976 1982 1986 1988, lpat(longdash))

But can't draw in two patterns.

Can anyone suggest me a way to draw them in two patterns?
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index