Hey,

I am trying to put labels on vertical lines in a twoway line graph. I was first trying to use xlabel() for this purpose but could not figure out how to get the labels at the top of the line. I instead opted for the Text(xxx xxx "xx") command which worked satisfactorily.
My problem now, I will attach a image below, is that the lines are too tight to fit the labels. My idea is to increase the blank space above the graph while keeping the lines the same length and maybe adding some "arrows" from the label to the line, (I think the labels might be too small to read if I just put them right above the vertical lines).

I have used this command to execute the graph

twoway (line so_innehav1 date1), xline(20131, lapattern(dash) lcolor(red) text(600000 20131 "QE1")

I am new here and this is my first post so I am sorry if it is not perfectly organized.

Array