Hello,
Please see my current graph.
I would like to split the "Arab Spring" label in two lines
My current code is as follows (I colored the line of the code in question in red to make it easier to find):
graph twoway (scatter vae year if countryname1==196, connect(direct) color(yellow)) (scatter vae year if countryname1==110, connect(direct) color(green) title("Voice and Accountability") ytitle("Index" "Score", orient(horizontal)) ylabel(,angle(0)) xtitle("") xlabel(2008(2)2020,grid) ylabel(,grid) text(0.4 2019.5 "Tunisia") text(-1.35 2019.5 "Libya") text(-1.55 2019.5 "Egypt")) (scatter vae year if countryname1==58, connect(direct) color(purple) tline(2010, lc(gray)) tlabel(2010 "Arab Spring", add labsize(*.75)) legend(label(1 "Tunisia") label(2 "Libya") label(3 "Egypt") col(3)))
I have tried several hours to find the right way to do this and I can't. I would tremendously appreciate any suggestions.
Thank you very much for your help and suggestions,
Related Posts with Data visualization - How to break a label on tline into multiple lines?
Calling a block of code within a DO fileHello All, I am running a DO file to create a table of summary statistics for a large number of var…
Running Bootstrap program to Implement Control Function ApproachHello, I am trying to implement Wooldridge's control function approach and bootstrap both the first…
looping over many regressionsHello I am trying to run 11 separate regressions. One with each of the local vars as a single predic…
Need to call a block of code within a Do fileHello All, I am running a DO file to create a table of summary statistics for a large number of var…
Person-Item Map in Stata?Dear StataList Users Is there a command to generate a Person-Item Map in Stata, after running the ir…
Subscribe to:
Post Comments (Atom)
0 Response to Data visualization - How to break a label on tline into multiple lines?
Post a Comment