Hi,
I saw a discussion about this topic here: https://www.statalist.org/forums/for...-custom-labels
I am trying to ask the question there but it seems nobody saw it.
I have a related question about custom label with marginsplot.
I am trying to set up something like this to shorten the display of the label:
marginsplot, recast(line) recastci(rarea) ytitle("Cardiovascular Risk Index") ///
xtitle("Longtidinal Obesity") xlabel (`=none' "none" `=obese@adulthd' "@adult" `obese@early-adlt' "@early-adult" `=obese@adolsct' "@adolescent")
But it did not work. Do you know how I can fix it? BTW, how can I make the label to be fully shown but not cut-off
Of course, there is another option. I could re-define the value label. But I would like to try changing the label in the graph first.
Thanks!
Alice
Related Posts with marginsplot with custom labels
The command "vce(cluster panel_id)"Hello
I am reading a paper and have started to study the corresponding Stata codes. However, I don'…
graph hbar - labstyle-Option shifts label into axisI want to print a hbar-graph and manipulate the labelsize by referring to a labelstyle. Why? I do th…
Converting Date formatGreetings.
I'm having a challenge converting the date formats with slashes "2/9/2016 14:06" (m/d/yyy…
multilevel mediation analysis with dichotomous dependent variableI am trying to estimate the mediation effect of a continuous mediator m on a dichotomous variable y.…
(Two-Way) Fixed Effects Model: (Too) Many Post-Treatment Waves & Violated Constant Effect Assumption?Hi,
I would be really very grateful for any suggestion on the following topic. I already searched q…
Subscribe to:
Post Comments (Atom)
0 Response to marginsplot with custom labels
Post a Comment