Hello,

I have daily data from jan 2004 to sep 2017 and I want to have on the x-axis the dates showing only the year. My code is as follows:
Code:
tsset Date
tsline x1 x2..., scheme(scientific) legend(position(4)) tlabel(, format(%tdCY))
However, the increment is 2 years and the last year appears to be 2018 (which is out-of-sample). I want the increment (delta) to be 1 and the last year to be 2017. Thanks a lot!