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?
n and % for a series of binary variablesHi. I woud like to produce n and % for a series of binary variables in the same table. For example,…
Change vartypeHello, I have a dataset I have created myself from Excel, which is made mostly out of percentages an…
Average Marginal Effects - Recursive Bivariate ProbitDear Statalisters, I would like to calculate the average marginal effects from a recursive bivariate…
How to correct autocorrelation in a multiple regression?Hello everyone on statalist! Hope you had a great weekend. I am working on a project and have run i…
Twoway Kdensity Plot – Truncate X-AxisDear Statalisters, I am using Stata 15.1 MP on a Windows 10 PC and face the following problem: I wa…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple lines (>100) on a tsline plot?
Post a Comment