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?
generate separate group variables instead of categorical variable. Need your help!Hi everyone, I have a logistic model to test the effect of different individual characteristics on …
mlabel in scatter plotDear Stata users, I'm trying to produce a graph with both scatter and lfit commands. I would like t…
Interpretation on the Granger CausalityArray I am trying to characterise temporal sequence of influences in a VAR and wanted to use the Gra…
Convert categorical variable to dummy variables in a large datasetDear everyone, I have a dataset of 350 categorical variables, e.g: How satisfied are you with your …
Solving nonlinear function in StataHi everyone, I'm trying to generate a variable (r) using an implicit expression. The equation is: (…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple lines (>100) on a tsline plot?
Post a Comment