Hello! I'm trying to accomplish something quite simple but can't figure out a way to do it with code. When making a bar graph with the -over( )- option, I'd like to make each set of bars a different color. (I realize that the different panels are already communicating different groups, and that the different colors are therefore needless, but aesthetically there's something nice about using different colors.)
For example, suppose I run the following:
The color of each set of bars is the same. What code would I use to make it so that, for example, the bars in the first panel are blue, bars in second panel are red, and bars in third panel are green? Does Stata have a way to do this?
Many thanks in advance for your help!
For example, suppose I run the following:
Code:
sysuse auto, clear graph bar, over(headroom) by(foreign, total note("") row(1) b1title(Headroom))
Many thanks in advance for your help!
Comment