Sure. Try e.g.
sysuse sp500, clear
egen l=min(low)
egen h=max(high)
tw rarea l h date if inrange(date,15229,15242) || line close date
On 10/10/07, Nadine Kalwey <[email protected]> wrote:
> Dear users,
>
> I created a graph with the command "twoway line". Now I would like to
> emphasize a specific date, lets say 1997m6 to 1998m12. Does anybody know if
> it's possible to have a shaded area within a line graph? And how does this
> work?
>
> Thanks for ur help!
>
> Kind regards
> Nadine
*
* 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/