Greetings,
I'm running Stata 15.1 on OSX. I'm trying to graph longitudinal data over three different over() variables (ideology, age group and year). This naturally entails a lot of bars and, consequently, a lot of overlapping value labels. I could reduce the size of the bar labels and/or increase the size of the graph (e.g. xsize(15)), but this would make them harder to read when pasted into a word document. I know you can alternate the y and x labels...is it possible to do the same with bar labels? If not, what's my best option here?.
Here is my syntax:
[CODE][graph bar W2MI if white==1 & W2MI!=. [pweight=weight], over(ideo3) over(age_cat) over(YEAR) asyvar blabel(total, format(%9.2f) size(medsmall)) bargap(30) xsize(12) ytitle("Percent") plotregion(fcolor(white)) graphregion(fcolor(white)) legend(col(1)) title("By Ideology")/CODE]
And this is the graph it produces:

Thanks in advance for your time!
I'm running Stata 15.1 on OSX. I'm trying to graph longitudinal data over three different over() variables (ideology, age group and year). This naturally entails a lot of bars and, consequently, a lot of overlapping value labels. I could reduce the size of the bar labels and/or increase the size of the graph (e.g. xsize(15)), but this would make them harder to read when pasted into a word document. I know you can alternate the y and x labels...is it possible to do the same with bar labels? If not, what's my best option here?.
Here is my syntax:
[CODE][graph bar W2MI if white==1 & W2MI!=. [pweight=weight], over(ideo3) over(age_cat) over(YEAR) asyvar blabel(total, format(%9.2f) size(medsmall)) bargap(30) xsize(12) ytitle("Percent") plotregion(fcolor(white)) graphregion(fcolor(white)) legend(col(1)) title("By Ideology")/CODE]
And this is the graph it produces:
Thanks in advance for your time!
Comment