Hi all,
I'm producing a bar graph with one categorical variable containing 4 categories. In my graph I would like 3 of the categories to be stacked and one aside.
This is my code so far:
and this is the output

Any way I could only stack categories 1 2 and 3?
Thank in advance
I'm producing a bar graph with one categorical variable containing 4 categories. In my graph I would like 3 of the categories to be stacked and one aside.
This is my code so far:
Code:
label define catvar 1 "cat1" 2 "cat2" 3 "cat3" 4 "cat4" label values catvar catvar graph bar, over(catvar) asyvars bar(1, fcolor(emerald)) bar(2, fcolor(gold)) bar(3, fcolor(cranberry)) bar(4, fcolor(ebblue))
Any way I could only stack categories 1 2 and 3?
Thank in advance
Comment