You can use two -tsline- statements with the appropriate if conditions. For
example:
webuse ibm,clear
drop if date > d(01feb2003) & date < d(01may2003)
tsline ibm
tsline ibm if date < d(01feb2003) || tsline ibm if date > d(01may2003)
Scott
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Jia Xiangping
> Sent: Thursday, November 30, 2006 7:38 AM
> To: statalist
> Subject: st: Graph tsline(or line) with missing value
>
> Dear Stata users,
>
> I am graphing a time-series data, in which some years are missing. Is
> that possible for me to graph the line with the missing left blank,
> instead of connecting bluntly.
>
> For example, while the data in 1950s are available, 1960 are missing.
> By default, the data are connected and there is a sudden
> increase/decrease in trend.
*
* 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/