X axis labels in daily data

For questions and discussion related to graphs, reports, and other output, including issues related to presenting or publishing results.
ege_man
Posts: 85
Joined: Sat Jul 07, 2012 2:39 pm

X axis labels in daily data

Unread post 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)
Attachments
daily_data.RGF
graph
(144.65 KiB) Downloaded 686 times
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: X axis labels in daily data

Unread post 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.
Post Reply