Dear Statalist,

I could use some help with a graph I am trying to produce.
This is my data:
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input float(region subg user) long(broad issuepol issuecpgn im mob hyb) float iact long(people priv) float(narrative other_fct)
4 5 2 2 2 2 2 2 2 2 2 2 2 2
1 2 2 1 1 2 2 1 2 2 1 2 2 2
1 4 2 2 2 2 2 2 2 2 2 2 2 2
4 1 2 1 1 2 2 2 2 2 2 2 2 2
1 2 2 2 2 2 2 2 2 1 2 2 2 2
2 1 2 1 1 1 2 1 2 2 2 2 2 2
1 2 2 1 2 2 1 1 1 2 1 1 2 2
2 1 2 2 1 2 2 2 2 2 2 2 2 2
7 1 2 1 1 2 1 2 2 2 2 2 2 2
2 1 2 1 2 2 1 1 2 2 2 1 2 2
1 1 2 1 1 2 2 2 1 1 1 1 2 2
1 1 2 1 1 1 1 1 1 2 2 1 2 2
1 1 2 2 2 2 1 2 2 2 1 1 2 2
2 1 1 2 2 2 2 2 2 2 1 1 2 2
7 1 2 1 1 2 1 2 2 2 2 1 2 2
3 1 2 2 2 2 1 2 2 2 2 2 2 2
2 1 2 1 1 2 1 2 2 2 2 1 2 2
2 3 2 1 2 2 2 2 2 1 2 2 2 2
4 1 2 2 2 2 2 1 2 2 1 2 2 2
1 4 3 2 2 2 2 2 2 2 2 2 2 2
4 3 1 2 2 2 2 2 2 2 2 2 2 2
4 1 2 2 2 2 2 2 2 2 2 1 2 2
2 1 2 2 2 2 2 2 2 2 2 2 1 2
4 1 2 2 2 1 1 2 2 2 2 1 2 2
1 1 2 1 1 2 2 2 2 2 2 2 2 2
1 1 2 2 2 2 1 2 2 2 1 1 2 2
4 1 2 1 2 1 2 2 2 2 2 1 2 2
4 1 2 2 2 2 2 2 2 2 2 2 2 1
end
label values region region
label def region 1 "Europe", modify
label def region 2 "North America", modify
label def region 3 "Middle East", modify
label def region 4 "South East Asia", modify
label def region 7 "North Caucasus", modify
label values subg subg
label def subg 1 "politician", modify
label def subg 2 "party", modify
label def subg 3 "government ministry/project", modify
label def subg 4 "various", modify
label def subg 5 "not applicable", modify
label values user trio
label values broad trio
label values issuepol trio
label values issuecpgn trio
label values im trio
label values mob trio
label values hyb trio
label values iact trio
label values people trio
label values priv trio
label values narrative trio
label values other_fct trio
label def trio 1 "a.s.", modify
label def trio 2 "n.a.", modify
label def trio 3 "a.w.o.", modify
Stata Version 14.2 for Windows, package: catplot (SSC)

I tried this:
Code:
set scheme s2mono
*user*
catplot user, over(subg) stack percent blabel(bar,pos(base) format(%4.0f)size(3)) bar(2,bfcolor(none)) bar(1,bfcolor(gs10)) bar(3,bfcolor(gs15)) asyvars name(u1, replace) title("User analysis", size(small))

*broad*
catplot broad, over(subg) stack percent blabel(bar,pos(base) format(%4.0f)size(3)) bar(2,bfcolor(none)) bar(1,bfcolor(gs10)) asyvars name(b1, replace) title("Broadcasting", size(small))

*issuepol*
catplot issuepol, over(subg) stack percent blabel(bar,pos(base) format(%4.0f)size(3)) bar(2,bfcolor(none)) bar(1,bfcolor(gs10)) asyvars name(ip1, replace) title("Broadcasting: communication of policy issues ", size(small))

*iisuecpgn*
catplot issuecpgn, over(subg) stack percent blabel(bar,pos(base) format(%4.0f)size(3)) bar(2,bfcolor(none)) bar(1,bfcolor(gs10)) asyvars name(ic1, replace) title("Broadcasting: communication of campaign issues ", size(small))


*im*
catplot im, over(subg) stack percent blabel(bar,pos(base) format(%4.0f)size(3)) bar(2,bfcolor(none)) bar(1,bfcolor(gs10)) asyvars name(im1, replace) title("Image management", size(small))

*mob*
catplot mob, over(subg) stack percent blabel(bar,pos(base) format(%4.0f)size(3)) bar(2,bfcolor(none)) bar(1,bfcolor(gs10)) asyvars name(m1, replace) title("Mobilization", size(small))

*hyb*
catplot hyb, over(subg) stack percent blabel(bar,pos(base) format(%4.0f)size(3)) bar(2,bfcolor(none)) bar(1,bfcolor(gs10)) asyvars name(h1, replace) title("Hybridity", size(small))

*iact*
catplot iact, over(subg) stack percent blabel(bar,pos(base) format(%4.0f)size(3)) bar(2,bfcolor(none)) bar(1,bfcolor(gs10)) asyvars name(ia1, replace) title("Interaction", size(small))

*priv*
catplot priv, over(subg) stack percent blabel(bar,pos(base) format(%4.0f)size(3)) bar(2,bfcolor(none)) bar(1,bfcolor(gs10)) asyvars name(pv1, replace) title("Personalization: private content", size(small))

*people*
catplot people, over(subg) stack percent blabel(bar,pos(base) format(%4.0f)size(3)) bar(2,bfcolor(none)) bar(1,bfcolor(gs10)) asyvars name(pl1, replace) title("Personalization: focus on people", size(small))

*narrative*
catplot narrative, over(subg) stack percent blabel(bar,pos(base) format(%4.0f)size(3)) bar(2,bfcolor(none)) bar(1,bfcolor(gs10)) asyvars name(n1, replace) title("Narrative", size(small))

*other/linguistic*
catplot other_fct, over(subg) stack percent blabel(bar,pos(base) format(%4.0f)size(3)) bar(2,bfcolor(none)) bar(1,bfcolor(gs10)) asyvars name(sa1, replace) title("Scentence analysis", size(small))

grc1leg u1 b1 ip1 ic1 im1 m1 h1 ia1 pv1 pl1 n1 sa1, ycommon cols(3) title("Function analysed by type of actor (grouped, in percent", size(small))
to come up with this:

[ATTACH=CONFIG]temp_17198_1583398925551_396[/ATTACH]

I would remove 'percent' and the title on the yaxis in the editor and change the size of the legend (I am new to graphs so it's easier for me to do it there).
But nevertheless, it is quite hard to read and almost impossible to see that the variable "user" is the only one where all three categories come up.

Maybe someone has an idea for a better solution?

Best,
Nadine