thanks, it's exactly what I needed.
Clara
>>> [email protected] 05/21/03 11:14AM >>>
Thanks to Prof. Wright,
This is what I had in mind and almost certain is what Clara after as well. Scott's reply gave me the idea to try what Prof. Wright had suggested and was checking the [G] when I got beaten to the tape.
Cheers,
bw
>From: "Wright, Gerald C." <[email protected]>
>Reply-To: [email protected]
>To: <[email protected]>
>Subject: RE: st: adding lines to graph
>Date: Wed, 21 May 2003 07:57:07 -0500
>
>Scott Merryman's response to Barley Water's question about shading
>subregions of a graph suggests a work-around within Stata that produces
>something close what Barley wants.
>
>preserve
>sysuse gnp96,clear
>sum gnp
>local max=`r(max)'
>gen c=`max' if date>q(1992q1)&date<q(2001q1)
>lab var c "Clinton Years"
>twoway (area c date, bcolor(gs15)) (line gnp date, clpattern(solid))
>restore
>
>
>Jerry
>
>____________________________
>
>Prof. Gerald C. Wright
>Department of Political Science
>1100 E. 7th St.
>Indiana University
>Bloomington, IN 47405
>Phone: (812) 855-6308
>Fax: (812) 855-2027
>____________________________
>
>
>
>
>*
>* 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/
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
*
* 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/
*
* 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/