I am trying to do a plot for time series data that I have. But I obtain something strange with one `line` of my `xtline`.
Here is the code:
My graph is attached.
Best,
Here is the code:
Code:
#d ; xtline N, over addplot( line N t if c=="GE":clab, lw(*2) lc(red) || scatter N t if t==ym(2023,3), ms(i) mlab(c) mlabcol(gs0) ) xline(`=ym(2020,3)' `=ym(2020,11)', lc(gs0) lp(-) lw(thin)) text( 30000 `=ym(2020,3)' "Mesures Covid" 30000 `=ym(2020,11)' "Salaire min à GE" , place(n) m(b=3) size(small) ) ylab(0(10000)30000, labs(small)) xlab(`=ym(2015,1)'(12)`=ym(2023,3)', format(%tmNN.CCYY) labs(small)) xmt(##6) yti("Nombre de chômeurs") xti("") legend(off) ysiz(15) xsiz(30) plotr(m(b=0)) graphr(m(t=7)) name(uXcanton, replace) ; #d cr gr export ./figures/uXcanton.png, replace
Best,
Comment