Page 1 of 1

X axis labels in daily data

Posted: Tue May 12, 2020 6:14 pm
by ege_man
Dear Tom,
The attached figure is obtained from a time-varying parameter state-space model based on daily data. in the last panel I plot the same parameter using the parameters of the last year, however months are not available on the time series axis. I can sometimes see the months when I change size of the figure. The code is given below.
Best Regards

Code: Select all

spgraph(vfields=1, hfields=3)
graph(footer=" (a)Contemporaneous effect of Rer", pattern, shading=rateriseb_er, min=-2.0, max=1.5) 3
# b_er 2005:05:16 *
# lowerer 2005:05:16 * 2
# upperer 2005:05:16 * 2
graph(footer=" (b) Cumulative effect of Rer", pattern,shading=rateriseb_er_5, min=-2.0, max=1.5) 3
# b_er_5 2005:05:16 *
# lowerer_5 2005:05:16 *  2
# upperer_5 2005:05:16 *  2
graph(footer=" (c) Cumulative effect of Rer (from 2019:01:01)", pattern,shading=rateriseb_er_5, min=-2.0, max=1.5) 3
# b_er_5 2019:01:01 *
# lowerer_5 2019:01:01 * 2
# upperer_5 2019:01:01 * 2
spgraph(done)

Re: X axis labels in daily data

Posted: Wed May 13, 2020 8:12 am
by TomDoan
You have that set up to do three time series graphs arrayed horizontally. That allows very little room for each horizontal axis, so it only is able to put detailed date information if you arrange the picture to be very wide relative to its height (probably unnaturally so). If you want to keep that general arrangement, you can try to reduce the size of the MONTHLABELS using GRPARM.