Hello!
I have a tsline graph with quarter time from 1994q3 to 2015q3, where 1994q3 is the third quarter of 1994. The quater time is the x axis. I need increase the space between each tick. For example if the space between each tick is 0.25 cm, I need increase the space between each tick to 0.75 cm.
I am using the following programming to generate the graph:
tsline pib if pib<6, lwidth(thick) lcolor(midblue) yti("GDP" " ", ///
height(10) ) || (tsline depvis if depvis<39, lwidth(thick) lcolor(orange_red) yaxis(2) ///
yti(" " "Deposits", height(10) axis(2)) ylabel(-39(13)39, axis(2))) in 2/86, ///
xmtick(##4) xlabel(#22, labsize(vsmall) angle(vertical)) xtitle("", height(9)) ylab(-6(2)6,nogrid) ///
legend( label(1 "GDP (eje izquierdo)")label(2 "Deposits (eje derecho)") ///
label(3 "") label(4 "") order(1 3 2 4) size(medium) region(lwidth(none))) ///
subtitle("1994-2015", size(medium) color(black)) ///
graphregion(fcolor(white))
Attachment data that I am using for the graph
Thanks for your helping .
I have a tsline graph with quarter time from 1994q3 to 2015q3, where 1994q3 is the third quarter of 1994. The quater time is the x axis. I need increase the space between each tick. For example if the space between each tick is 0.25 cm, I need increase the space between each tick to 0.75 cm.
I am using the following programming to generate the graph:
tsline pib if pib<6, lwidth(thick) lcolor(midblue) yti("GDP" " ", ///
height(10) ) || (tsline depvis if depvis<39, lwidth(thick) lcolor(orange_red) yaxis(2) ///
yti(" " "Deposits", height(10) axis(2)) ylabel(-39(13)39, axis(2))) in 2/86, ///
xmtick(##4) xlabel(#22, labsize(vsmall) angle(vertical)) xtitle("", height(9)) ylab(-6(2)6,nogrid) ///
legend( label(1 "GDP (eje izquierdo)")label(2 "Deposits (eje derecho)") ///
label(3 "") label(4 "") order(1 3 2 4) size(medium) region(lwidth(none))) ///
subtitle("1994-2015", size(medium) color(black)) ///
graphregion(fcolor(white))
Attachment data that I am using for the graph
Thanks for your helping .
Comment