From 4ec6e1666ea62a6f906e64fc9a297bd0e918355d Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Tue, 10 May 2016 10:16:22 -0400 Subject: reverted some of time axis flipping in postprocessing On my installation of Octave and Matlab everything is fine without axis flip. --- .../pp_Nlevels.m | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/MOR_5_levels_with_doppler_and_propagation/pp_Nlevels.m b/MOR_5_levels_with_doppler_and_propagation/pp_Nlevels.m index 644680c..648cc09 100644 --- a/MOR_5_levels_with_doppler_and_propagation/pp_Nlevels.m +++ b/MOR_5_levels_with_doppler_and_propagation/pp_Nlevels.m @@ -4,22 +4,22 @@ Nlevels_with_MOR z_1=z_1*100; % z in cm t_1=t_1*1e6; % time now measured in uS figure(1) -subplot(2,2,1); imagesc(z_1, flip(t_1), IdL_out_1.'); colorbar +subplot(2,2,1); imagesc(z_1, (t_1), IdL_out_1.'); colorbar xlabel('z (cm)') ylabel('t (uS)') zlabel('I_{dL}') title('I_{dL}') -subplot(2,2,2); imagesc(z_1, flip(t_1), IpL_out_1.'); colorbar +subplot(2,2,2); imagesc(z_1, (t_1), IpL_out_1.'); colorbar xlabel('z (cm)') ylabel('t (uS)') zlabel('I_{pL}') title('I_{pL}') -subplot(2,2,3); imagesc(z_1, flip(t_1), IdR_out_1.'); colorbar +subplot(2,2,3); imagesc(z_1, (t_1), IdR_out_1.'); colorbar xlabel('z (cm)') ylabel('t (uS)') zlabel('I_{dR}') title('I_{dR}') -subplot(2,2,4); imagesc(z_1, flip(t_1), IpR_out_1.'); colorbar +subplot(2,2,4); imagesc(z_1, (t_1), IpR_out_1.'); colorbar xlabel('z (cm)') ylabel('t (uS)') zlabel('I_{pR}') @@ -34,8 +34,8 @@ title('I_{pR}') figure(5) subplot(2,2,1); plot( ... - t_1, flip(IdL_out_1(1,:)'), ... - t_1, flip(IdL_out_1(end,:)'),'LineWidth', 4 ... + t_1, (IdL_out_1(1,:)'), ... + t_1, (IdL_out_1(end,:)'),'LineWidth', 4 ... ) xlabel('t (uS)') ylabel('I_{dL} (1/s)^2') @@ -45,8 +45,8 @@ legend('before', 'after') %% subplot(2,2,2); plot( ... - t_1, flip(IpL_out_1(1,:)'), ... - t_1, flip(IpL_out_1(end,:)'), 'linewidth', 4 ... + t_1, (IpL_out_1(1,:)'), ... + t_1, (IpL_out_1(end,:)'), 'linewidth', 4 ... ) xlabel('t (uS)') ylabel('I_{pL} (1/s)^2') @@ -56,8 +56,8 @@ legend('before', 'after') %% subplot(2,2,3); plot( ... - t_1, flip(IdR_out_1(1,:)'), ... - t_1, flip(IdR_out_1(end,:)'), 'linewidth', 4 ... + t_1, (IdR_out_1(1,:)'), ... + t_1, (IdR_out_1(end,:)'), 'linewidth', 4 ... ) xlabel('t (uS)') ylabel('I_{dR} (1/s)^2') @@ -66,8 +66,8 @@ legend('before', 'after') subplot(2,2,4); plot( ... - t_1, flip(IpR_out_1(1,:)'), ... - t_1, flip(IpR_out_1(end,:)'), 'linewidth', 4 ... + t_1, (IpR_out_1(1,:)'), ... + t_1, (IpR_out_1(end,:)'), 'linewidth', 4 ... ) xlabel('t (uS)') ylabel('I_{pR} (1/s)^2') -- cgit v1.2.3