可以试试stata的twoway plot,用lpolyci这个选项:
tw ( lpolyci coefficient quantile, ciplot(rline) pstyle(ci2)) (lpolyci coefficient quantile, lp(shortdash)) ///
, legend(label(1 "95% CI") label(2 "2010") label(3 "95% CI") label(4 "2015")) ///
title("Coefficient estimate with 95% confidence interval", size(medium))