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
New version of wridit on SSCThanks as always to Kit Baum, a new version of the wridit package is now available for download from…
Running time for QUAIDSHi, I'm currently running QUAIDS estimation for 300K households and 215 food items. I wonder how lon…
Panel data, Stata omits i.Year dummies due to collinearityHi all, I am fairly new to Stata and I ran into a problem with my panel data set. My data set consi…
Comparing two CoefficientsHello there, i have split my sample into two parts and ran a fe regression for both of them. is it…
mrgraph error - variables R _variables do not uniquely identify the observationsI am trying to get a graph for a multiple response question. I have read the resource and the mrtab …
Subscribe to:
Post Comments (Atom)
0 Response to Using splitvallabels + catplot without over option
Post a Comment