Dear all,
I am trying to make a bar chart that shows mean value of a variable (attitudes toward immigrants) for 19 European countries. I want to use different colors (or intensities of same color) for East European (ex-communist) countries and West European countries. I have created a dummy variable that distinguishes between these two categories of countries, but was not able to find any info about how i can make the graph.
Syntax is bellow and an example of the graph using only one color for the bars is attached.
Any help is much appreciated.
Best,
Zan Strabac
graph bar (mean) immigr_att [pw=pspwght], over(country, sort(1) lab(angle(45))) intensity (50)
Related Posts with Different colors for two groups of bars in a bar chart
Kolmogorov – Smirnov Test for panel databaseHello! I want to perform the Kolmogorov –Smirnov test to a panel database given that it is a freque…
How to load in the vertex attributes in networkHello everyone, I am struggling to find out how to load the vertex attributes into a network? I am c…
hausman test problemDear all, I am working with panel data and when I use the command: hausman fe re, force, I get the…
Create a new variable based on observations within a groupHello, my dataset is structered the following: clear input float (group_id won_close_dummy loss_cl…
Bar Chart PercentilesHello, I plotted a bar graph of the education level agains the mean of the average pay. Because of …
Subscribe to:
Post Comments (Atom)
0 Response to Different colors for two groups of bars in a bar chart
Post a Comment