Dear Statalists, I am using monthly data that are like "01jan1980" "01feb1980" etc. After the uploading, I use the appropriate conversion function before selecting the format:
Code:
gen mdate = mofd(month)
format mdate %tm
and I get the requested values "1980m1", "1980m2", etc. However, when I draw a line plot like the following:

Code:
line state mdate if mdate>1985m1, tline(1991m1 2009m1)
The tline(...) works as a charm, but the "if mdate>1985m1" it doesn't. Note that if I use "if mdate>1985" instead, it drops all the variables. What I am doing wrong?

Thanks a lot,
Ale