Dear All, I run the code (data are available upon request):
and obtain the following figure

I'd like to make the figure more visible, and wonder if I can remove the empty spaces as much as possible? Thanks.
Code:
#delimit ; separate henry, by(year) veryshortlabel; tw (line henry202? etime, sort) (line henry2022 etime if etime>=0, lc(green) sort) (scatter henry etime if etime==34, ms(none) mlab(year) xtitle("") leg(off) xlabel(-30(10)40) ylabel(0(2)8) xline(0, lp(dash_dot))); graph save "Graph" "NG-F1-henry.gph", replace; #delimit cr #delimit ; separate ttf, by(year) veryshortlabel; tw (line ttf202? etime, leg(off) sort) (line ttf2022 etime if etime>=0, leg(off) lc(green) sort) (scatter ttf etime if etime==34, ms(none) mlab(year) xtitle("") leg(off) xlabel(-30(10)40) ylabel(0(20)80) xline(0, lp(dash_dot))); graph save "Graph" "NG-F1-ttf.gph", replace; #delimit cr #delimit ; separate nbp, by(year) veryshortlabel; tw (line nbp202? etime, leg(off) sort) (line nbp2022 etime if etime>=0, leg(off) lc(green) sort) (scatter nbp etime if etime==34, ms(none) mlab(year) xtitle("") leg(off) xlabel(-30(10)40) ylabel(0(20)80) xline(0, lp(dash_dot))); graph save "Graph" "NG-F1-nbp.gph", replace; #delimit cr #delimit ; separate jkm, by(year) veryshortlabel; tw (line jkm202? etime, leg(off) sort) (line jkm2022 etime if etime>=0, leg(off) lc(green) sort) (scatter jkm etime if etime==34, ms(none) mlab(year) xtitle("") leg(off) xlabel(-30(10)40) ylabel(0(20)60) xline(0, lp(dash_dot))); graph save "Graph" "NG-F1-jkm.gph", replace; #delimit cr graph combine NG-F1-henry.gph NG-F1-ttf.gph NG-F1-nbp.gph NG-F1-jkm.gph, col(2) iscale(1) graph save "Graph" "NG-F1.gph", replace graph export "NG-F1.pdf", as(pdf) name("Graph") replace
I'd like to make the figure more visible, and wonder if I can remove the empty spaces as much as possible? Thanks.
Comment