Plot for Forecasting the FTSE 100 with High-Frequency Data: A Comparison of Realized Measures

This plot is broken.

```Error using plot
Vectors must be the same lengths.```
• Created by: Oleg Komarov

Oleg Komarov (view profile)

• Latest result: Error using plot Vectors must be the same lengths.
• Created on: 17 Feb 2012

Included from trend description:

```% 1445 tracks downloads
% 1446 tracks abstract views
figure('un','pix','pos',[360 150 500 500])
opt = {'fonts',8,'box','on','Xtickl',''};
a1  = axes('un','pix','pos',[50, 25,415,150]);
a2  = axes('un','pix','pos',[50,175,415,150]);
a3  = axes('un','pix','pos',[50,325,415,150]);

thsep = java.text.DecimalFormat;
thsep.setMaximumFractionDigits(1);

plot(a1, time1445, data1446, 'color',[.18 .74 .40])
set(a1,'YtickL', arrayfun(@(x) char(thsep.format(x)),get(a1,'Ytick'),'un',0));
legend(a1,['Abstract views: ' char(thsep.format(data1446(end)))],'Location','NorthWest');
legend(a1,'boxoff');
set(a1,opt{1:4})

plot(a2, time1445, data1445, 'color',[.2 .3 .5])
set(a2,'YtickL',arrayfun(@(x) char(thsep.format(x)),get(a2,'Ytick'),'un',0));
legend(a2,'boxoff'); datetick(a2); set(a2,opt{:},'YAxisL','right');

plot(a3, time1445,data1447, 'color',[.83 .08 .02])
set(a3,'YtickL',arrayfun(@(x) char(thsep.format(x)),get(a3,'Ytick'),'un',0))
legend(a3,'boxoff'); datetick(a3); set(a3,opt{:});

% Dateticks
set([a1;a2;a3],'Xtick',linspace(time1445(1),time1445(end),7),'Xlim',time1445([1,end]))
datetick(a1,'keepticks')

```
Tags: