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
Related Posts with Vertical Line Label
Caluclate Value by using different months and yearsHello, I am currently working on an issue which I think is straight forward but somehow I am not ab…
graph catplot note overlaps with xaxisWhile creating some graphs I have discovered that a three line note overlaps with xaxis-title and (i…
Syntax for algorithm that combines items received by (individuals and HH units)Dear all, I am trying to do the calculations for the algorithm below (i.e. to create the syntax for …
Getting rid of overlapsHello Statlist I am fairly new to stata, and have run into a predicament in my data management. I …
Calculating subsequent surgeries with data in long formatDear STATAList forum, I'm working with ophthalmic surgery data, trying to calculate which types of …
Subscribe to:
Post Comments (Atom)
0 Response to Vertical Line Label
Post a Comment