plotSetXTicInterval takes the following inputs:Ī pointer to a plotControl structure, containing the settings for your plot. The plotSetXTicInterval function will allow us to accomplish this task. Let’s start our customization by controlling the frequency and location of the tic labels.
If you are not familiar with the GAUSS plotControl structure, or the GAUSS plotSet functions, read through this tutorial to learn how easy they are to use.
PCTEX 6 SERIAL NUMBER SERIES
Create basic time series plot plotTS(dstart, freq, tbill) Īfter running the above code, you should see a plot that looks similar to this: First data in series is January 1982 //dstart = 198201 would also work Let’s draw a basic time series plot of our tbill data from above: NxK matrix containing one or more time series to plot. Scalar, the frequency of the data per year. Either a four digit year, 1982 or a 4 digit year followed by a two digit month, 198201. Scalar, the first date of the time series. Optional input, instance of a plotControl structure, containing desired plot attributes. The GAUSS function plotTS creates time series plots.
These observations are monthly and the first observation is from January of 1982. Now the variable, tbill, should contain 24 separate observations. Make sure that the data file, tbill_3mo.xlsx is in your GAUSS working directory and then load the first two years of data with this command: Our first step will be to load a portion of the data from this time series. If you do not have the file, you can download the file here. This data file can be found in the GAUSS examples directory, starting in GAUSS version 16. In this tutorial, we will plot a short section of data from the file tbill_3mo.xlsx. GAUSS provides functions to make it simple to create time series plots.