diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-01-11 14:21:54 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2012-01-11 14:21:54 -0500 |
commit | c250a4c1e8f2d766ada943e27441d6f1e72adea5 (patch) | |
tree | b9d274780847b0c947eb8a85facadabbb631867b | |
parent | 75e24c7b7555de74d96b3e23a6d9a2a2242294ea (diff) | |
download | Nresonances-c250a4c1e8f2d766ada943e27441d6f1e72adea5.tar.gz Nresonances-c250a4c1e8f2d766ada943e27441d6f1e72adea5.zip |
field 4 added to pulse output plots
-rw-r--r-- | xmds2/Nlevels_with_doppler_with_z_4wm/fast_to_slow_switch/pp_I2.m | 22 |
1 files changed, 13 insertions, 9 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 c5d0a1d..365d5b7 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 @@ -30,12 +30,13 @@ print('-color','-depsc2', '-tight', '-S200,120', 'fields_propagation_I2.eps') figure(2) %set(gca,'fontsize',30); plot( ... - t_1,I2_out_1(:,1),'.-;before;', "linewidth", 4, ... - t_1,I2_out_1(:,end), '-;after;', "linewidth", 4 ... + t_1,I2_out_1(:,1),'.-;I_2 before;', "linewidth", 4 ... + ,t_1,I2_out_1(:,end), '-;I_2 after;', "linewidth", 4 ... + ,t_1,I4_out_1(:,end), '-;I_4 after;', "linewidth", 4 ... ) xlabel('t (uS)') -ylabel('I_2 (1/s)^2') -title('I_2 before and after cell') +ylabel('I (1/s)^2') +title('Fields before and after cell') legend('location', 'northeast'); [b, a]=butter(3, 0.05); @@ -49,25 +50,28 @@ printf('Second field delay time = %f uS\n',delay_time); %set(gca,'fontsize',40); %set (gcf,'paperposition',[0.5 0 2.5,1.5]); % IMPORTANT to shrink eps size for readable fonts -print('-color','-depsc2', '-tight','-S200,120', 'fields_before_after_cell_I2.eps') +print('-color','-depsc2', '-tight','-S200,120', 'fields_before_after_cell.eps') figure(4) I2_max_in=max(I2_out_1(t_good_indx,1)); I2_max_out=max(I2_out_1(t_good_indx,end)); +I4_max_out=max(I4_out_1(t_good_indx,end)); I2_in_norm=(I2_out_1(:,1))/I2_max_in; I2_out_norm=(I2_out_1(:,end))/I2_max_out; +I4_out_norm=(I4_out_1(:,end))/I4_max_out; tmin=-.05; tmax=.05; indx=(t_1>=tmin & t_1<=tmax); % soom in in time to this region plot( ... - t_1(indx),I2_in_norm(indx),'.-;before;', "linewidth", 4, ... - t_1(indx),I2_out_norm(indx), '-;after;', "linewidth", 4 ... + t_1(indx),I2_in_norm(indx),'.-;I_2 before;', "linewidth", 4, ... + t_1(indx),I2_out_norm(indx), '-;I_2 after;', "linewidth", 4 ... + ,t_1(indx),I4_out_norm(indx), '-;I_4 after;', "linewidth", 4 ... ) legend('location', 'southeast'); xlim([tmin,tmax],'manual'); xlabel('t (uS)') ylabel('I_2') -title('I_2 before and after cell normalized') +title('Fields before and after cell normalized') %set (gcf,'paperposition',[0.5 0 2.5,1.5]); % IMPORTANT to shrink eps size for readable fonts -print('-color','-depsc2', '-tight','-S200,120', 'probe_before_after_cell_I2_normalized.eps') +print('-color','-depsc2', '-tight','-S200,120', 'fields_before_after_cell_normalized.eps') |