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
Continuous threshold model (Kink threshold model)Hey all, What's the difference between the threshold model that can divide the sample into two regi…
Panel data regressionHello, Greeting to all! Please I am trying to test the consequences of exchange rate regime and capi…
Error when using generate to copy variableHi, I am failing at a surprisingly simple task. In a csv file I have a date variable (mess_datum) i…
Assign a dummy 0/1 to each county based on a scoreHello everyone, I have a dataset with US counties where for each county in each quarter I have the t…
Creating a study site map in stataHello Statalisters, I would like to find out if it is possible to generate a country map showing a …
Subscribe to:
Post Comments (Atom)
0 Response to marginsplot with custom labels
Post a Comment