summaryrefslogtreecommitdiff
path: root/compass_circ_output_results.m
diff options
context:
space:
mode:
Diffstat (limited to 'compass_circ_output_results.m')
-rw-r--r--compass_circ_output_results.m23
1 files changed, 20 insertions, 3 deletions
diff --git a/compass_circ_output_results.m b/compass_circ_output_results.m
index 2c54f7d..837c8ac 100644
--- a/compass_circ_output_results.m
+++ b/compass_circ_output_results.m
@@ -46,9 +46,11 @@ for i=1:N_detunings-1
line( thetas, zoom_factor*(transmission_matrix(i,:)), "color", line_colors(i,:) );
hold on;
endfor
-
+
+set(gca, 'XTick', [0,pi/4, pi/2, 3*pi/4, pi])
+set(gca, 'XTickLabel', {'0', '\pi/4', '\pi/2', '3\pi/4', '\pi'})
title("Relative sidebands amplitudes");
-xlabel("Angle theta, between B-field and light propagation direction");
+xlabel('Angle \theta, between B-field and light propagation direction');
ylabel("Amplitude");
legend(labels);
print('compass_circ_sidebands_vs_theta.png')
@@ -59,9 +61,24 @@ figure(2)
j=4; k= 3;
j=2; k= 7;
% plotting parametric line of a sideband amplitude (j) vs another one (k)
-plot(zoom_factor*(transmission_matrix(j,:)), zoom_factor*(transmission_matrix(k,:)))
+z = zeros(1,N_angles);
+col = thetas; % This is the color, vary with x in this case.
+surface([zoom_factor*(transmission_matrix(j,:));zoom_factor*(transmission_matrix(j,:))], ...
+ [zoom_factor*(transmission_matrix(k,:));zoom_factor*(transmission_matrix(k,:))], ...
+ [z;z],[col;col],...
+ 'facecol','no',...
+ 'edgecol','interp',...
+ 'linew',2);
+%plot(zoom_factor*(transmission_matrix(j,:)), zoom_factor*(transmission_matrix(k,:)))
xlabel( labels{j});
ylabel( labels{k});
+%clabel('\theta');
+colorbar;
+set(gca, 'ZTick', [0,pi/4, pi/2, 3*pi/4, pi])
+set(gca, 'ZTickLabel', {'0', '\pi/4', '\pi/2', '3\pi/4', '\pi'})
+
+%colorbar('Ticks',[0, pi/2, pi], 'TicksLabels', ['0', '\pi/2', '\pi'])
+%ctickslabel(['0', '\pi/2', '\pi'])
title('One sideband amplitude vs another for different angles theta');
print('compass_circ_sidebands_combo_vs_theta.png')