What is the easiest general way to suppress a repeated category axis when using graph bar, by()?
I am using version 14.2. The following example illustrates:
sysuse lifeexp, clear
keep if lexp>70 & lexp<79 & region==1
rename lexp byvar
rename country catvar
graph hbar, over(catvar) by(byvar)
By default, the category axis (unlike the y-axis) is repeated across subplots. There is no by(byvar, noicataxes) option, while over(catvar, label(nolabels)) removes the labels from all plots.
I am using version 14.2. The following example illustrates:
sysuse lifeexp, clear
keep if lexp>70 & lexp<79 & region==1
rename lexp byvar
rename country catvar
graph hbar, over(catvar) by(byvar)
By default, the category axis (unlike the y-axis) is repeated across subplots. There is no by(byvar, noicataxes) option, while over(catvar, label(nolabels)) removes the labels from all plots.
Comment