[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: twoway line and shaded areas

From   "Austin Nichols" <>
Subject   Re: st: twoway line and shaded areas
Date   Wed, 10 Oct 2007 10:38:31 -0400

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

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