Hi,
I am plotting a coefplot with rarea for the confidence intervals. My problem is that I want to plot a xline above the area of the confidence intervals and the option xline in coefplot plots it behind. I know that in regular graphs you can use twoway and specify the order in which you want the graphs to plot so you choose which one goes above, but coefplot does not work with twoway. I post the code for an example:
This graphs an xline but it appears behind the shaded area, anyone knows how to make it appear above it? I also upload two images: the first is what I'm getting and the second one is what I want to obtain.
Thanks!
I am plotting a coefplot with rarea for the confidence intervals. My problem is that I want to plot a xline above the area of the confidence intervals and the option xline in coefplot plots it behind. I know that in regular graphs you can use twoway and specify the order in which you want the graphs to plot so you choose which one goes above, but coefplot does not work with twoway. I post the code for an example:
Code:
sysuse auto reg price mpg trunk turn gear_ratio coefplot, vertical drop(_cons) ciopts(recast(rarea)) xline(3)
Thanks!
Comment