Hi guys,
total Stata newbie here.
I am currently trying to format a bar chart, which is grouped by two categories "bm" and "me" which both have values from 1 to 5.
To distinguish better within the 2nd grouping, it would be nice to have different colors for each group value (1-5).
Since all bars (all 25) have the same variable ("ret"), I was only able to change the color for all of them, but not individually or for a specific group value.
Any suggestions for a desperate beginner?
To create the bar chart I used the following code:

Thanks in advance!
total Stata newbie here.
I am currently trying to format a bar chart, which is grouped by two categories "bm" and "me" which both have values from 1 to 5.
To distinguish better within the 2nd grouping, it would be nice to have different colors for each group value (1-5).
Since all bars (all 25) have the same variable ("ret"), I was only able to change the color for all of them, but not individually or for a specific group value.
Any suggestions for a desperate beginner?
To create the bar chart I used the following code:
Code:
graph bar (mean) ret, over(bm) over(me)
Thanks in advance!
Comment