Dear all
I have a small data-set where I have the data for the per capita GDP and the Human Development Index for the year of 2010. I want to plot a scatter graph and I did it by using the simple command of "scatter HDI GDPpc". However, I would like the graph to have a different color for each country as well as a label to say what country each color represents.
My data is organized with three columns, one that says the country and the other two with the GDP and HDI values.
Below is he graph I can plot in Stata. As you can see, all the points that represent each country have the same color, thus it's not possible to know what country each point represents.
Is it possible to differentiate each country?
I appreciate all the help in advance.
Best regards
Afonso Rodrigues
I have a small data-set where I have the data for the per capita GDP and the Human Development Index for the year of 2010. I want to plot a scatter graph and I did it by using the simple command of "scatter HDI GDPpc". However, I would like the graph to have a different color for each country as well as a label to say what country each color represents.
My data is organized with three columns, one that says the country and the other two with the GDP and HDI values.
Below is he graph I can plot in Stata. As you can see, all the points that represent each country have the same color, thus it's not possible to know what country each point represents.
Is it possible to differentiate each country?
I appreciate all the help in advance.
Best regards
Afonso Rodrigues
Comment