Hello,
I have some panel data that spans 5 years (2000-2005) and 150 countries with LN GDP Per Capita. I know it'll look fairly messy, but is there a way to have all the lines on one graph? The only way I can think of doing it is by combining graphs in the following way:
tsset country_code year
graph twoway tsline ln_gdppc if country=="China"|| tsline ln_gdppc if country=="Germany"|| etc. etc.
Is there a better way to do this? The final product I'm going for is grayed out lines for each country and then a dark line for the total/average.
Thank you!
Related Posts with Multiple lines (>100) on a tsline plot?
Lag string variablesHello, I lagged (almost) all my variables, and I noticed that my one string variable is now all mis…
Query regarding the Hansen statistic obtained after xtabond2Hello, I have a question regarding running the xtabond2 command, with alternating years of data. I …
panel data graphHey there, I have a problem with a panel data graph. I have 24 countries in my data but stata only …
Cleaning dataHi, first post on stata forum here: Hello. I have a survey dataset with lots of -5, -4, -3, -2, -1 f…
Missing values generated after trying to generate ln function Before trying to generate my variable I had this variable. Code: * Example generated by -datae…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple lines (>100) on a tsline plot?
Post a Comment