Hi everyone,
I have been trying to plot a mulitple lines graph similar to the attached picture. After many failed attempts and looking on the Internet, I would like to see if anybody here could help.
My data is a longitudinal dataset. I would like to create a graph by only picking certain years. I got the error: ) required r(100); by running the below code
Would appreciate if anyone could help.
Thanks a lot.
I have been trying to plot a mulitple lines graph similar to the attached picture. After many failed attempts and looking on the Internet, I would like to see if anybody here could help.
My data is a longitudinal dataset. I would like to create a graph by only picking certain years. I got the error: ) required r(100); by running the below code
Code:
twoway (line pc_foreign num_exp if jahr==1985,sort by(edu)legend("1985")) (line pc_foreign num_exp if jahr==1995,sort by(edu)legend("1995")) (line pc_foreign num_exp if jahr==2005,sort by(edu)legend("2005")) (line pc_foreign num_exp if jahr==2014,sort by(edu)legend("2014")) ytitle("share") xtitle("Num experience");
Thanks a lot.
Comment