I am trying to place labels both above and below markers in a plot generated by coefplot however I'm not sure if this is possible. In the plot generated in coefplot below, I'd like to have the P-value below the marker.
Code used to generate the plot below.
Code:
coefplot, drop(_cons) eform xline(1) msymbol(S) xtitle(Odds Ratio) ciopts(recast(rcap)) mlabel(string(@b, "%9.2f") + " (P = " + string(@pval, "%9.2f") + ")") mlabposition(12) mlabgap(*2) coeflabels(1.female = "Female" 1.dm = "Diabetes" max_cbd_dia_noninv = "Max CBD diameter on non-invasive imaging", wrap(14))
Any help would be greatly appreciated! Thanks!
0 Response to Placing text/label above and below marker in a coefplot generated plot
Post a Comment