summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-11-22 15:01:12 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2020-09-21 16:33:21 -0400
commit7647560aff6c4b8cc5744632696b2b074b7240f6 (patch)
tree15f99ce826418ccaaa5354ea29de65685ed9accf
parent1a18d80e3aa266e30178ca09314dd142ab04e9a6 (diff)
downloadmulti_mode_eit-7647560aff6c4b8cc5744632696b2b074b7240f6.tar.gz
multi_mode_eit-7647560aff6c4b8cc5744632696b2b074b7240f6.zip
added other polarizations outputs
-rw-r--r--squeezing_filter/grand_output.m33
1 files changed, 30 insertions, 3 deletions
diff --git a/squeezing_filter/grand_output.m b/squeezing_filter/grand_output.m
index 13cf4d3..87b0027 100644
--- a/squeezing_filter/grand_output.m
+++ b/squeezing_filter/grand_output.m
@@ -30,20 +30,47 @@ for i=1:Nsteps
Ed=d.Ed;
Ep_out.x = d.Ep_out.x;
Ep_out.y = d.Ep_out.y;
+ Ep_out.left = d.Ep_out.left;
+ Ep_out.right = d.Ep_out.right;
B_str=num2str(B_field(1),"%g");
B_str=strcat('B= ',B_str, ' G');
+ legend_str{i}=B_str;
figure(1);
+ plot(detunings, abs(Ep_out.x).^2, 'color', line_colors(i,:) ); hold on
+ legend(legend_str);
+ title('Signal out x-polarization');
+
+ figure(2);
plot(detunings, abs(Ep_out.y).^2, 'color', line_colors(i,:) ); hold on
- legend_str{i}=B_str;
+ legend(legend_str);
title('Signal out y-polarization');
+ figure(3);
+ plot(detunings, abs(Ep_out.left).^2, 'color', line_colors(i,:) ); hold on
+ legend(legend_str);
+ title('Signal out left-polarization');
+
+ figure(4);
+ plot(detunings, abs(Ep_out.right).^2, 'color', line_colors(i,:) ); hold on
+ legend(legend_str);
+ title('Signal out right-polarization');
+
endfor
+figure(1);
legend(legend_str);
+hold off;
-figure(1); hold off;
-
+figure(2);
+legend(legend_str);
+hold off;
+figure(3);
+legend(legend_str);
+hold off;
+figure(4);
+legend(legend_str);
+hold off;