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
Ellip (ellipse) issuesGreetings - my first post, so apologies for being ignorant of conventions, any directions/instructio…
I am shocked that Stata may not understand variable names literallyI have this simplest dataset. var new 0 1 Then I type tab va then it should throw me an error sa…
can we order the variables after -egen- ? Code: egen progsvness=rowmean(techAdvt prodAdvt) order progsvness,a(prodAdvt) the cod…
Bar charts: Percent on y-axis, absolute count over each bar?Hi, I'm making a bunch of barcharts, some using graph, some using catplot, like this: Code: grap…
graphing a change with xtlineHello, I have issues with the command to generate a graph which will show a change of my variable o…
Subscribe to:
Post Comments (Atom)
0 Response to marginsplot with custom labels
Post a Comment