diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-12-07 11:17:40 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-12-07 11:17:40 -0500 |
commit | 9204a7fa48983776b65b16533f11fb89fa45cb85 (patch) | |
tree | ea1ad905de32575d20eea928b2b690758c45e657 /xmds2/Nlevels_with_doppler_with_z_4wm | |
parent | 2ae360d047c18e7f0ba3dbac0af34276c20584d8 (diff) | |
download | Nresonances-9204a7fa48983776b65b16533f11fb89fa45cb85.tar.gz Nresonances-9204a7fa48983776b65b16533f11fb89fa45cb85.zip |
labels added
Diffstat (limited to 'xmds2/Nlevels_with_doppler_with_z_4wm')
-rw-r--r-- | xmds2/Nlevels_with_doppler_with_z_4wm/pp_doppler.m | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/xmds2/Nlevels_with_doppler_with_z_4wm/pp_doppler.m b/xmds2/Nlevels_with_doppler_with_z_4wm/pp_doppler.m index 8d1a219..d98cc0e 100644 --- a/xmds2/Nlevels_with_doppler_with_z_4wm/pp_doppler.m +++ b/xmds2/Nlevels_with_doppler_with_z_4wm/pp_doppler.m @@ -1,8 +1,10 @@ Nlevels_with_doppler_with_z_4wm %% field propagation -z_3=z_1*100; % z in cm -t_3=t_1*1e6; % time now measured in uS +z_3=z_3*100; % z in cm +z_1=z_1*100; % z in cm +t_3=t_3*1e6; % time now measured in uS +t_1=t_1*1e6; % time now measured in uS [Nv, Nt, Nz]=size(I2_out_v_3); @@ -15,12 +17,19 @@ end figure(1); hold off; -plot(Iv_out_v'); hold on -plot(I2_out_1(:,end), '-b', 'LineWidth',2); +plot(t_3, Iv_out_v'); hold on + +plot(t_1, I2_out_1(:,end), '-b', 'LineWidth',2); l_str{Npl+1}=num2str('Doppler averaged out'); -plot(I2_out_1(:,1), '-r', 'LineWidth',2); + +plot(t_1, I2_out_1(:,1), '-r', 'LineWidth',2); l_str{Npl+2}=num2str('Doppler averaged in'); + legend(l_str); +xlabel('time (uS)'); + figure(2); hold off; imagesc(z_1, t_1, I2_out_1) +ylabel('time (uS)'); +xlabel('z (cm)'); |