figure;
%hold on;
semilogy([1:size(res_array(:,1),1)],(res_array(:,1)),'rs-',[1:size(res_array(:,50),1)],(res_array(:,50)),'bs-',[1:size(res_array(:,100),1)],(res_array(:,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 (c=0.90)');
xlabel('Number of iterations');
ylabel('L1 residual (log10)');
legend('a set of 6,834 pages','a set of 341,170 pages','a set of 683,400 pages');
