[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: time series plot with shaded bands
Hi all--
I think my question must have an easy answer but after searching the
archives I was unable to find a solution to my problem.
The following piece of code allows one to draw specific lines at given
dates:
sysuse tsline2, clear
tsset day
tsline calories, tline(28nov2002 25dec2002)
I want to add a shaded band from 28nov2002 to 25dec2002 instead of two
individual lines. How can I achieve that? And what if I want to add several
shaded bands for different time periods?
Thanks,
MA
_________________________________________________________________
It�s tax season, make sure to follow these few simple tips
http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?icid=HMMartagline
*
* 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/