summaryrefslogtreecommitdiff
path: root/compass_circ_output_results.m
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2020-09-25 13:42:59 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2020-09-25 13:42:59 -0400
commite26e632cf64eb97ab042c0c7ecb26f2984ba4992 (patch)
treed1cdadb722b44119d9c976750979ed074a7bfe51 /compass_circ_output_results.m
parentad1da3a0ee91fc64d6841d88044df000ecade907 (diff)
downloadmulti_mode_eit-e26e632cf64eb97ab042c0c7ecb26f2984ba4992.tar.gz
multi_mode_eit-e26e632cf64eb97ab042c0c7ecb26f2984ba4992.zip
improved plots labels
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')