Code:
* Example generated by -dataex-. For more info, type help dataex clear input int(gdp7 year) double cf_0 byte relative_0 2284 1960 2344.5752805835496 -30 2388 1961 2410.555300400853 -29 2527 1962 2565.170095355413 -28 2610 1963 2680.1819865730668 -27 2806 1964 2850.2205099133694 -26 3005 1965 3049.2355450697996 -25 3168 1966 3294.6976320281647 -24 3241 1967 3457.126790346017 -23 3571 1968 3748.937513372169 -22 3998 1969 4053.9835620080307 -21 4367 1970 4313.265847486722 -20 4686 1971 4643.6328845354155 -19 5055 1972 5067.659012151861 -18 5553 1973 5627.864741147243 -17 6074 1974 6138.4684340114745 -16 6603 1975 6637.413276120334 -15 7367 1976 7334.825054463951 -14 8090 1977 8023.515936373996 -13 8928 1978 8924.21961297197 -12 10067 1979 9854.24671087441 -11 11083 1980 10760.977180535365 -10 12115 1981 11892.800173885393 -9 12761 1982 12369.192922761604 -8 13519 1983 13211.47763314891 -7 14481 1984 14423.075860809462 -6 15291 1985 15282.67629347721 -5 15998 1986 15993.358177955923 -4 16679 1987 16851.079161089652 -3 17786 1988 18042.316421826057 -2 18994 1989 19248.25044872261 -1 20465 1990 20254.86643544301 0 21602 1991 20818.459230348755 1 22154 1992 21654.308331137978 2 21878 1993 22290.622004675584 3 22371 1994 23394.456620703248 4 23035 1995 24245.63418341099 5 23742 1996 25206.203243412278 6 24156 1997 26368.449542536662 7 24931 1998 27441.339580822205 8 25755 1999 28673.510595792643 9 26943 2000 30217.040951444593 10 27449 2001 31105.584968837804 11 28348 2002 32076.66496251002 12 28855 2003 33222.11056743127 13 end format %ty year label var gdp7 "Real West Germany" label var cf_0 "SCUL West Germany, 1990" cls tsset year, y twoway (tsline gdp7, lcolor(black) lwidth(thick)) (tsline cf_0, lcolor(black) lwidth(medthin) lpattern(tight_dot)), ylabel(, format(%1.0e)) legend(region(fcolor(none)) position(4) ring(0))
I don't know, I'm big on aesthetics, and I like making my graphics look clean and not awkward.
Comment