[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: ytitle suboption -valuelabel-: how to label using the text from a variable
Roger, I'm sorry I wasn't clear in my question.
Now I realize that what I would like to do is label each of the -rcap-
whisker bars from the graph below with the text contained in a variable
<idstr>. I have seen in -whelp axis_label_options- that one can manually
specify text, but don't see how to specify text from a variable.
In reply to your second query, the -ylabel()- option has a -valuelabel-
suboption, allowing you to type
ylabel(1 2, valuelabel)
which should cause value labels to be printed.
* forest plot comparing results (thanks to Scott Merryman)
encode ids, gen(Model)
twoway rcap min95 max95 Model if parmseq==1, horizontal
xtitle(Hazard Ratio and 95% Confidence Interval, margin(0 0 0
ytitle(Analysis Method) ylabel( 1 "Adjusted" 2 "Unadjusted",
|| scatter Model estimate if parmseq==1, msize(medlarge)
* For searches and help try: