Since you are new, let us show you how Trendy works.

Close-button

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
  • Latest result: Error using plot Vectors must be the same lengths.
  • Created on: 17 Feb 2012

Included from trend description:

Tracks 'download rank' of my paper on SSRN and plots together with 'abstract views' and 'downloads'.

Plot Image
% 1445 tracks downloads
% 1446 tracks abstract views
% 1447 track download rank
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,['Downloads: ' char(thsep.format(data1445(end)))] ,'Location','NorthWest'); 
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,['Download rank: ' char(thsep.format(data1447(end)))],'Location','NorthWest'); 
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:

    Add Tags


    0 comments