Dear All:
I am writing to see if there is any way for me to add brackets to the y-axis labels and group them into two groups? A nice example of my description is a graph from the presentation slides of Ben Jann's - coefplot - attached below.

This might not be directly relevant to the question, but it is actually a follow-up question following my previous post. In case it is relevant, in the previous post I have plotted a graph using the following codes provided by Carole J. Wilson.
Thank you very much and I look forward to hearing from you!
Best regards,
Long Hong
I am writing to see if there is any way for me to add brackets to the y-axis labels and group them into two groups? A nice example of my description is a graph from the presentation slides of Ben Jann's - coefplot - attached below.
This might not be directly relevant to the question, but it is actually a follow-up question following my previous post. In case it is relevant, in the previous post I have plotted a graph using the following codes provided by Carole J. Wilson.
Code:
clear input str6 varname float(b se t pvalue ll ul) "mpg" -186.84166 88.17601 -2.1189625 .03769533 -362.748 -10.93533 "trunk" -12.72642 104.87854 -.12134439 .903771 -221.9534 196.50053 "length" 54.55294 35.56248 1.5340027 .12960176 -16.39227 125.49815 "turn" -200.32475 140.01657 -1.4307218 .15702333 -479.65015 79.00066 "_cons" 8009.893 6205.538 1.290765 .20109335 -4369.817 20389.6 end sort b gen order=_n drop if varname=="_cons" // ignore if you want to include the constant labmask order, values(varname) gr twoway rcap ll ul order, horiz || /// scatter order b , /// xline(0) ylab(,valuelabel angle(horizontal)) /// ytitle("") legend(off)
Best regards,
Long Hong
Comment