I want to create a bar plot using
. The four-digit year lables overlap with each other in the plot. Is there a way to convert them to 2-digit lables (e.g., 2015 to "15")? Usually I use
but it does not work in this case.
Code:
graph bar y1 y2, over(year)
Code:
xlabel(2000 "00" 2001 "01" 2002 "02" 2003 "03" 2004 "04" 2005 "05" /// 2006 "06" 2007 "07" 2008 "08" 2009 "09" 2010 "10" 2011 "11" 2012 "12" 2013 "13" /// 2014 "14" 2015 "15" 2016 "16" 2017 "17" 2018 "18" 2019 "19")
Comment