|
10 | 10 | % vis
|
11 | 11 | for ifig = 1:numel(sims)
|
12 | 12 | figure(ifig);clf
|
13 |
| - set(gcf,'Units','centimeters','Position',[(5+13*(ifig-1)) 2 12 18],'PaperUnits','centimeters','PaperPosition',[0 0 12 18]); |
| 13 | + set(gcf,'Units','centimeters','Position',[(5+13*(ifig-1)) 2 8 18],'PaperUnits','centimeters','PaperPosition',[0 0 8 18]); |
14 | 14 | data = readmatrix(sprintf('../output/out_Stokes2D_ve_%s_param.txt',sims{ifig}));
|
15 | 15 | % data = data(:,2:end);
|
16 | 16 | sz = [numel(fact),numel(subs),numel(resol)];
|
|
24 | 24 | for iSub = 1:numel(resol)
|
25 | 25 | nexttile
|
26 | 26 | plot(min(iters(:,:,iSub))./nt./min(nx(:,:,iSub)),'-o','LineWidth',1.6,'MarkerSize',3)
|
27 |
| - xlim([0.9 4.1]); ylim([6 18]); |
| 27 | + xlim([0.9 4.1]); ylim([6 20]); |
28 | 28 | yticks([8 12 16]); yticklabels([8 12 16])
|
29 | 29 | if iSub == numel(resol);xticks(1:4);xticklabels(subs);xlabel('\bfaspect ratio (lx/ly)');else; xticklabels([]); end
|
30 |
| - text(0.02,0.84,['\bf(' char('a'+iSub-1) ')'],'Units','normalized','FontName','Courier') |
31 |
| - text(0.75,0.84,['\bfny = ' num2str(resol(iSub))],'Units','normalized','FontName','Courier') |
32 |
| - set(gca,'FontName','Courier','FontSize',fs,'YDir','normal','XAxisLocation','bottom') |
| 30 | + text(0.02,0.88,['\bf(' char('a'+iSub-1) ')'],'Units','normalized','FontName','Courier') |
| 31 | + text(0.63,0.88,['\bfny = ' num2str(resol(iSub))],'Units','normalized','FontName','Courier') |
| 32 | + set(gca,'FontName','Courier','FontSize',fs,'YDir','normal','XAxisLocation','bottom','LineWidth',0.8) |
33 | 33 | if iSub == 3; ylabel('\bfiter_{tot}/nt/nx'); end
|
34 | 34 | drawnow
|
35 | 35 | end
|
|
0 commit comments