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.

X axis labels in daily data

Unread postby ege_man » Tue May 12, 2020 6:14 pm

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 359 times
ege_man
 
Posts: 86
Joined: Sat Jul 07, 2012 2:39 pm

Re: X axis labels in daily data

Unread postby TomDoan » Wed May 13, 2020 8:12 am

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.
TomDoan
 
Posts: 7240
Joined: Wed Nov 01, 2006 5:36 pm


Return to Graphics, Reports, and Other Output

Who is online

Users browsing this forum: No registered users and 4 guests

cron