diff options
Diffstat (limited to 'xmds2/Nlevels_with_doppler_with_z_4wm')
-rw-r--r-- | xmds2/Nlevels_with_doppler_with_z_4wm/fast_to_slow_switch/pp_I2.m | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/xmds2/Nlevels_with_doppler_with_z_4wm/fast_to_slow_switch/pp_I2.m b/xmds2/Nlevels_with_doppler_with_z_4wm/fast_to_slow_switch/pp_I2.m index ac157bf..a7c4984 100644 --- a/xmds2/Nlevels_with_doppler_with_z_4wm/fast_to_slow_switch/pp_I2.m +++ b/xmds2/Nlevels_with_doppler_with_z_4wm/fast_to_slow_switch/pp_I2.m @@ -1,6 +1,6 @@ Nlevels_with_doppler_with_z_4wm -%% field propagation +%% field I2 propagation z_1=z_1*100; % z in cm t_1=t_1*1e6; % time now measured in uS figure(1) @@ -13,6 +13,7 @@ xlabel('z (cm)') ylabel('t (uS)') zlabel('I_2') title('I_2') +print('-color','-depsc2', '-tight', '-S200,120', 'fields_propagation_I2.eps') desired_x_size=200; desired_y_size=200; @@ -21,13 +22,25 @@ yskip=ceil(length(t_1)/desired_y_size); map2dat('I2.dat',z_1,t_1, I2_out_1, xskip, yskip); +%% field I4 propagation +figure(2) + +imagesc(z_1, t_1, I4_out_1); colorbar +tmin=-0.4; +tmax= 0.4; +ylim([tmin,tmax],'manual'); +xlabel('z (cm)') +ylabel('t (uS)') +zlabel('I_2') +title('I_2') +print('-color','-depsc2', '-tight', '-S200,120', 'fields_propagation_I4.eps') + -print('-color','-depsc2', '-tight', '-S200,120', 'fields_propagation_I2.eps') %% fields before and after the cell -figure(2) +figure(3) %set(gca,'fontsize',30); plot( ... t_1,I2_out_1(:,1),'.-;I_2 before;', "linewidth", 4 ... |