I'm working with a time series data set and I'm making some graphs, using the tsline command. However I'm working with quarterly data and I'd like to change the xlabel of the graphs, from 2017q1, to T1-2017 (for every date...), however I don't know how to do it. I started doing:
Code:
tsline discriminacion, title("Evolución denuncias ingresadas (2017-2022)") subtitle("Discriminación") ytitle("Número de denuncias" " ") ylabel(0(100)500) xtitle(" " "Trimestres") xlabel(tq(2017q1) "T1-2017" tq(2017q2) "T2-2017" tq(2017q3) "T3-2017" tq(2017q4) "T4-2017" tq(2018q1) "T1-2018") recast(connected) tline(2020q2, lpattern(dash))
0 Response to Change xlabel in a graph
Post a Comment