Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: graphs with year vertical lines


From   "Yatawara, Ravi" <[email protected]>
To   <[email protected]>
Subject   st: RE: graphs with year vertical lines
Date   Sat, 9 Apr 2005 02:34:14 -0400

Hello,

I have a series of data that I have plotted against time( x-axis is
years 1965-2000) but also want to include a couple of vertical lines to
highlight particular years that dramatic things happened.
For example - my  series is trade data(trade/gdp) from 1965-2000 for 40
countries.  
I am fine with 
Twoway Conn trade year , by(country) 
But in each  country there were years that I would like to mark (event
analysis style) So say in Argentina I want a vertical line at 1976 and
1989. For Brazil it may  1983 and 1991 and so on.
The only thing I come across that looks like this is when people want a
break in the x-axis and then to restart it later. That's the look I
want.  It is similar to standard graphs of output (GDP) and then you see
shaded years to show recessions.
Would appreciate any help.
Ravi 




*
*   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/



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