Dear all,
When creating graphs I often use splitvallabels to break up longer labels on the y axis. However, this only works when having something like this:
splitvallabels rep78 , length(11)
graph bar mpg , over(rep78, relabel(`r(relabel)') )
My code is as follows:
catplot var1 var2 if var3 == 1 & var1 > 0, percent(var1) asy recast (hbar) ///
title("XXX", size(medium) span margin(b=10)) ytitle("YYY") legend( bmargin(t=1) bexpand span size(small)) ///
aspect(0.25) ysize(2) xsize(2.8) scale(*0.75)
You see that I do not use the over option, so that I cannot include relabel(`r(relabel)'). Does anyone have an idea on how to tackle this issue?
Related Posts with Using splitvallabels + catplot without over option
Constant weight variable in panel dataDear users, I am working with a static panel dataset including variables at the household level for…
difference between meologit with sampling weights and svy:meologit?HI, I have a general question about the difference in 2 commands. I have multilevel survey data and …
Is it possible to obtain ultra-precision in calculating p-values in Stata?Dear Statalisters, What would be your suggestion to compute p-values as low as 1e-25? For example:…
Constant weight variable in panel dataDear users, I am working with a static panel dataset including variables at the household level for…
Regressing growth rates of a variable on its initial level for separate decadesDear all, I am currently trying to regress the growth rate of a variable on its initial level and a…
Subscribe to:
Post Comments (Atom)
0 Response to Using splitvallabels + catplot without over option
Post a Comment