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
Problem (omitted because of collinearity Code: probit checking_account lending_interest i.size c.firm_age i.Legal_Status i.sector i.gender …
Descriptive Data Table (Socio-demographic data)Hi there, I was wondering whether I could get a table like this on STATA? Array Thanks, Aslan …
panel data regression Hey, I'm running panel data regressions, but I want to find out the coefficients for each country …
Regression on time-series and cross-sectional dataHi, While writing an essay on transitions to democracy in SSA mainly using logit models for surviva…
Variable loopingCheers, Here is the code that I have Code: gen date1990 = amo + ayear gen date1992 = bmo + byear …
Subscribe to:
Post Comments (Atom)
0 Response to marginsplot with custom labels
Post a Comment