figure;
%hold on;
h=semilogy([1:size(res_array85(:,100),1)],(res_array85(:,100)),'rs-',[1:size(res_array90(:,100),1)],(res_array90(:,100)),'bs-',[1:size(res_array99(:,100),1)],(res_array99(:,100)),'ks-');
%semilogy(log10(res_array(:,1)),'rs-');
%semilogy(log10(res_array(:,50)),'bs-');
%semilogy(log10(res_array(:,100)),'ks-');
%hold off;
grid;
title('Convergence of PageRank Value (Stanford-Berkeley Web)');
xlabel('Number of iterations');
ylabel('L1 residual (log10)');
legend('c = 0.85','c = 0.9','c = 0.99');
