Hi all,

I am trying to produce a coefplot, and for some reason, the baseline year is showing up first rather than in the middle of the graph. Here's the code:

Code:

logistic dropout UKLMIC##ib2005.yearstart specialtycat1 gender_recode i.country1 i.yearstart, or vce(robust)


coefplot, keep(*UKLMIC#*yearstart) vertical base yline(0) order(1.UKLMIC#1991.yearstart 1.UKLMIC#1992.yearstart 1.UKLMIC#1993.yearstart 1.UKLMIC#1994.yearstart//
1.UKLMIC#1995.yearstart 1.UKLMIC#1996.yearstart 1.UKLMIC#1997.yearstart 1.UKLMIC#1998.yearstart 1.UKLMIC#1999.yearstart 1.UKLMIC#2000.yearstart 1.UKLMIC#2001.yearstart//
1.UKLMIC#2002.yearstart 1.UKLMIC#2003.yearstart 1.UKLMIC#2004.yearstart 0.UKLMIC#2005.yearstart 1.UKLMIC#2006.yearstart 1.UKLMIC#2007.yearstart 1.UKLMIC#2008.yearstart//
1.UKLMIC#2009.yearstart 1.UKLMIC#2010.yearstart 1.UKLMIC#2011.yearstart) rename(1.UKLMIC#1991.yearstart="1991" 1.UKLMIC#1992.yearstart="1992" 1.UKLMIC#1993.yearstart="1993" //
1.UKLMIC#1994.yearstart="1994" 1.UKLMIC#1995.yearstart="1995" 1.UKLMIC#1996.yearstart="1996" 1.UKLMIC#1997.yearstart="1997" 1.UKLMIC#1998.yearstart="1998" //
1.UKLMIC#1999.yearstart="1999" 1.UKLMIC#2000.yearstart="2000" 1.UKLMIC#2001.yearstart="2001" 1.UKLMIC#2002.yearstart="2002" 1.UKLMIC#2003.yearstart="2003" //
1.UKLMIC#2004.yearstart="2004" 0.UKLMIC#2005.yearstart="2005" 1.UKLMIC#2006.yearstart="2006" 1.UKLMIC#2007.yearstart="2007" 1.UKLMIC#2008.yearstart="2008" //
1.UKLMIC#2009.yearstart="2009" 1.UKLMIC#2010.yearstart="2010" 1.UKLMIC#2011.yearstart="2011") recast(connected)  xlabel(, labsize(vsmall)) graphregion(fcolor(white))//
Array