Skip to content

Commit 497eb12

Browse files
authored
Merge pull request #15006 from rmcdermo/master
Matlab: fix issues with soborot script
2 parents a350259 + 7c066df commit 497eb12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Utilities/Matlab/scripts/soborot_mass_transport.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,10 +448,10 @@
448448

449449
% trap cosine wave error
450450
if e_charm_128>2.9e-04
451-
display(['Error: soborot_godunov_square_wave_128 out of tolerance'])
451+
display(['Error: soborot_charm_cos_wave_128 out of tolerance'])
452452
end
453453
if e_superbee_128>6.4e-04
454-
display(['Error: soborot_charm_square_wave_128 out of tolerance'])
454+
display(['Error: soborot_superbee_cos_wave_128 out of tolerance'])
455455
end
456456

457457
axis([min(dx) .1 min(dx.^2) max(dx)])
@@ -462,7 +462,7 @@
462462
set(gca,'FontName',Font_Name)
463463
set(gca,'FontSize',Label_Font_Size)
464464

465-
lh=legend(H,'{\itO}(\delta{\itx})','{\itO}(\delta{\itx}^2)','CHARM','Superbee');
465+
lh=legend(H(1:4),'{\itO}(\delta{\itx})','{\itO}(\delta{\itx}^2)','CHARM','Superbee');
466466
set(lh,'Location','Southeast')
467467
set(lh,'FontName',Font_Name,'FontSize',Key_Font_Size)
468468
legend boxoff

0 commit comments

Comments
 (0)