This is not exactly the same as your example plot, probably because your data are not the same, but it is close:
irl = xlsread('granulo','irl');
dia_irl = irl(:,1);
cum_irl = irl(:,2);
hst_irl = irl(:,3);
figure(1)
plot(log10(dia_irl), cum_irl, '-r')
hold on
bar(log10(dia_irl), hst_irl)
hold off
grid
logxts = [-2:2 log10(500.1)];
set(gca, 'XTick', logxts)
expxts = 10.^(logxts);
set(gca, 'XTickLabel', floor(1*expxts)/1)
axis([min(logxts) max(logxts) 0 100])
The plot:
Best Answer