% caam454 project: plotting subplot(121) semilogy(1:iterz,fhz,'-',1:iterm,fhm,'--','linewidth',2); title(sprintf('[n E k c method] = [%i %i %i %i %i]',n,E,k,c,method')); xlabel('Iteration','fontsize',14); ylabel('f values'); subplot(122) semilogy(1:iterz,ghz,'-',1:iterm,ghm,'--','linewidth',2); title(sprintf('CPU: [ tz tm ] = [ %g %g ]',tz,tm)); xlabel('Iteration','fontsize',14); ylabel('g-norm values');