You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
462 B

function plot_convergence_all(loop,maxloop,sumCompliance,volfraction,BWR)
figure(3)
% figure()
% loop=75;maxloop=loop;
set(gcf,'position',[100 100 1200 400])
subplot(3,1,1)
plotC=sumCompliance.';
% plot([1:loop].',plotC(1:loop))
semilogy([1:loop].',plotC(1:loop))
xlim([0 maxloop])
subplot(3,1,2)
plotV=volfraction.';
plot([1:loop].',plotV(1:loop))
xlim([0 maxloop])
subplot(3,1,3)
plotV=BWR.';
plot([1:loop].',plotV(1:loop))
xlim([0 maxloop])
pause(1e-6);
end