SHAZAM Community
Ask Your Question

GRAPH-function and time-scale

asked 2017-03-08 09:37:24 +0000

TL gravatar image

Hi all,

I have three time series, and I want to make nice figures of them by using the GRAPH-function in SHAZAM. The series are as follows: The first one: Daily data, which start in March 23, 1995 and end in March 28, 2015. The second series is weekly scale and start in week 16, 1995 and ends in week 16, 2015. The third series is monthly data that starts March 2015 and ends in March 2015. My problem is to time-scale correctly the X-axis for these three series when I use the GRAPH-function in SHAZAM. I hope I can get some help to solve the problem.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-03-08 19:05:29 +0000

updated 2017-03-08 19:07:05 +0000

This can be done using the AXISFMT and TIMEFMT commands.

There are two examples you might look at:



edit flag offensive delete link more


This is not easy to solve: I have 1044 weekly observations (not time indexed). Starts in week 16, 1995, ends week 2015 week 16: I applied the following command, but not sucessfully. I have problem setting the starting value (notice the linebreak is not correct):

sample 1 1044
time 1995 1 date
timefmt %Y.%W
axisfmt %y/%W
graph TUKE date / timefmt axisfmt lineonly
TL gravatar imageTL ( 2017-03-08 21:56:53 +0000 )edit

Pages 67-68 of the v11 manual describe how to do this, e.g. by specifying an extra variable. Note that %W is not a valid format string. If you can't solve it reading those pages then please can you either upload the file here or send by email to SHAZAM Help.

SHAZAMHelp gravatar imageSHAZAMHelp ( 2017-03-09 05:10:18 +0000 )edit
Login/Signup to Answer

Question Tools


Asked: 2017-03-08 09:37:24 +0000

Seen: 184 times

Last updated: Mar 08