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
How to compute intraday stock returnsHi, I'm new to Stata. Probably this question has already been answered, but I couldn't locate it. I…
Opt-out alternative for Choice ExperimentsHey everyone, I am new to stata and CE and I hope some one can help me how to include opt-out optio…
stset use with multiple records per personHi, I'm relatively new to Stata and am trying to set up some data for a Cox regression. I have abou…
PSM help: using observation # stubs to generate dummiesHi All. I’d love some help with the PSM dataset I’m constructing. I’ve already established overlap a…
How to run seemingly unrelated regressions (SUR) in a multilevel model?Hello I am trying to use seemingly unrelated regressions (SUR) technique in a 2-level model which i…
Subscribe to:
Post Comments (Atom)
0 Response to Using splitvallabels + catplot without over option
Post a Comment