Hello everybody
I am trying to generate a bar chart where I have three different variables on the X-Axis (Var1 to Var3) and the mean on the Y axis (scaled from 1 to 5).
I am able to create for each variable (A104_01, A104_03 and A104_05) the corresponding graphs. For example the three graphs are:
label define label_A104 1 "XX" 2 "YY" 3 "ZZ" 4 "VV" 5 "UU"
label values A104_* label_A104
graph bar, over(A104_01) blabel(bar, format(%3.2f)) ytitle(Prozent) legend(size(small))
graph bar, over(A104_03) blabel(bar, format(%3.2f)) ytitle(Prozent) legend(size(small))
graph bar, over(A104_05) blabel(bar, format(%3.2f)) ytitle(Prozent) legend(size(small))
But how can i combine these three in one graph, that it should looks like:
⎪⎪
⎪⎪ ⎪⎪
⎪⎪ ⎪⎪ ⎪⎪
⎪⎪ ⎪⎪ ⎪⎪
⎪⎪ ⎪⎪ ⎪⎪
⎪⎪ ⎪⎪ ⎪⎪
⎪⎪ ⎪⎪ ⎪⎪
⎪⎪ ⎪⎪ ⎪⎪
V1 V2 V3 ; V1 V2 V3 ; V1 V2 V3 ; V1 V2 V3 ; V1 V2 V3 ;
I hope you understand my problem, looking foreward to answers!
Thank you very much!
I am trying to generate a bar chart where I have three different variables on the X-Axis (Var1 to Var3) and the mean on the Y axis (scaled from 1 to 5).
I am able to create for each variable (A104_01, A104_03 and A104_05) the corresponding graphs. For example the three graphs are:
label define label_A104 1 "XX" 2 "YY" 3 "ZZ" 4 "VV" 5 "UU"
label values A104_* label_A104
graph bar, over(A104_01) blabel(bar, format(%3.2f)) ytitle(Prozent) legend(size(small))
graph bar, over(A104_03) blabel(bar, format(%3.2f)) ytitle(Prozent) legend(size(small))
graph bar, over(A104_05) blabel(bar, format(%3.2f)) ytitle(Prozent) legend(size(small))
But how can i combine these three in one graph, that it should looks like:
⎪⎪
⎪⎪ ⎪⎪
⎪⎪ ⎪⎪ ⎪⎪
⎪⎪ ⎪⎪ ⎪⎪
⎪⎪ ⎪⎪ ⎪⎪
⎪⎪ ⎪⎪ ⎪⎪
⎪⎪ ⎪⎪ ⎪⎪
⎪⎪ ⎪⎪ ⎪⎪
V1 V2 V3 ; V1 V2 V3 ; V1 V2 V3 ; V1 V2 V3 ; V1 V2 V3 ;
I hope you understand my problem, looking foreward to answers!
Thank you very much!

Comment