Hello,
I would like to add legends for each of the lines that I plot in a graph. It always appears as error saying "parentheses do not balance" The code that I'm using is:
twoway (scatter mean_gdp_growth1 year, c(1) yaxis(1)) (scatter mean_gdp_growth2 year, c(1) yaxis(2)) (scatter mean_gdp_growth3 year, c(1) yaxis(2)) ///
(scatter mean_gdp_growth4 year, c(1) yaxis(2)), title (GDP growth), legend (label(1 "Scandinavian") (label(2 "Continental") (label(3 "Anglo-Saxon") (label4 "Mediterranean")
Can you help me to identify the error?
Thank you in advance
I would like to add legends for each of the lines that I plot in a graph. It always appears as error saying "parentheses do not balance" The code that I'm using is:
twoway (scatter mean_gdp_growth1 year, c(1) yaxis(1)) (scatter mean_gdp_growth2 year, c(1) yaxis(2)) (scatter mean_gdp_growth3 year, c(1) yaxis(2)) ///
(scatter mean_gdp_growth4 year, c(1) yaxis(2)), title (GDP growth), legend (label(1 "Scandinavian") (label(2 "Continental") (label(3 "Anglo-Saxon") (label4 "Mediterranean")
Can you help me to identify the error?
Thank you in advance
Comment