I am trying to use -xtgraph- to plot cross-sectional mean and sd of a variable in a panel dataset. However, the xlabel does not show date properly. The code I use is
Code:
xtgraph myvar, av(mean) bar(sd) ///
tlabel(01jan2012 01jan2014 01jan2016 01jan2018 01jan2020, format(%tdmy))
The x-axis label is not in date format.