summaryrefslogtreecommitdiff
path: root/xmds2/Shahriar_system/pp.m
diff options
context:
space:
mode:
Diffstat (limited to 'xmds2/Shahriar_system/pp.m')
-rw-r--r--xmds2/Shahriar_system/pp.m35
1 files changed, 11 insertions, 24 deletions
diff --git a/xmds2/Shahriar_system/pp.m b/xmds2/Shahriar_system/pp.m
index fcb7e2a..ae1ecf1 100644
--- a/xmds2/Shahriar_system/pp.m
+++ b/xmds2/Shahriar_system/pp.m
@@ -3,28 +3,23 @@ Shahriar_system
%% field propagation
t_1=t_1*1e6; % time now measured in uS
figure(1)
-subplot(1,3,1); imagesc(z_1, t_1, I1_out_1); colorbar
+subplot(1,2,1); imagesc(z_1, t_1, I1_out_1); colorbar
xlabel('z')
ylabel('t (uS)')
zlabel('I_1')
title('I_1')
-subplot(1,3,2); imagesc(z_1, t_1, I2_out_1); colorbar
+subplot(1,2,2); imagesc(z_1, t_1, If_out_1); colorbar
xlabel('z')
ylabel('t (uS)')
-zlabel('I_2')
-title('I_2')
-subplot(1,3,3); imagesc(z_1, t_1, I3_out_1); colorbar
-xlabel('z')
-ylabel('t (uS)')
-zlabel('I_3')
-title('I_3')
+zlabel('I_f')
+title('I_f')
%% fields before and after the cell
figure(2)
-subplot(1,3,1);
+subplot(1,2,1);
plot( ...
t_1,I1_out_1(:,1),'-;before;', ...
t_1,I1_out_1(:,end), '-;after;' ...
@@ -32,24 +27,16 @@ plot( ...
xlabel('t')
ylabel('I_1')
title('I_1 propagation')
-subplot(1,3,2);
-plot( ...
- t_1,I2_out_1(:,1),'-;before;', ...
- t_1,I2_out_1(:,end), '-;after;' ...
- )
-xlabel('t')
-ylabel('I_2')
-title('I_2 propagation')
-subplot(1,3,3);
+subplot(1,2,2);
plot( ...
- t_1,I3_out_1(:,1),'-;before;', ...
- t_1,I3_out_1(:,end), '-;after;' ...
+ t_1,If_out_1(:,1),'-;before;', ...
+ t_1,If_out_1(:,end), '-;after;' ...
)
xlabel('t')
-ylabel('I_3')
-title('I_3 propagation')
+ylabel('I_f')
+title('I_f propagation')
-%return;
+return;
%% all density matrix elements in one plot
% diagonal populations,