Name
fan_chart — draws a fan-chart
CALLING SEQUENCE
fan_chart(mat,dat,win,colour,sep)
PARAMETERS
- Input
mat=a (T x k) probability matrix
dat=a (T x 1) vector of dates
win=the window's number
colour='blue' or 'grey'
sep=the decimal separator used for the figures
- Output
Nothing (printed on a graphic window)
DESCRIPTION
Draws a fan-chart as the ones used by the Bank of England.
EXAMPLE
fan_chart(x,['2007T'+string(1:4) '2008T'+string(1:4)],15,'blue')
Example taken from function fan_chart_d. Draws a fan chart for the dates between 2007T1 to 2008T4 on window 15, with the blue colour.