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?
difference in difference error :(hello everybody, I am going to analysis a policy which influences the GDP of different countries, bu…
Question on how to rearrange household dataHi all Statalist! I am using Stata 16 on a MacOS High Sierra (Version: 10.13.6). I have a question…
fusion of two variables that measure the same but have two different namesDear members, I have appended a data set but made the mistake of misspelling the variable "dateofin…
Compile total sample based on one fiscal year (2004)Hi all, I have filtered specific firms based on certain criteria for the fiscal year 2004. On the b…
Standardized variablesHi, I have panel data and defined my variables accordingly: xtset id q_date,q if i want to standard…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple lines (>100) on a tsline plot?
Post a Comment