diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-10-12 21:58:18 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2020-10-12 21:58:18 -0400 |
commit | a50fdda6ae1d227369831a684c0f5cb03da5e8e7 (patch) | |
tree | 972d8aede14bd8f7d224cc7c656d20a2f5be4f66 /compass_lin_extrema_vs_theta_output_results.m | |
parent | bd147ffe45119e15cafcc755a4de3a4d605a7d6f (diff) | |
download | multi_mode_eit-a50fdda6ae1d227369831a684c0f5cb03da5e8e7.tar.gz multi_mode_eit-a50fdda6ae1d227369831a684c0f5cb03da5e8e7.zip |
redone phase diagram
Diffstat (limited to 'compass_lin_extrema_vs_theta_output_results.m')
-rw-r--r-- | compass_lin_extrema_vs_theta_output_results.m | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/compass_lin_extrema_vs_theta_output_results.m b/compass_lin_extrema_vs_theta_output_results.m index b421179..c75ad2f 100644 --- a/compass_lin_extrema_vs_theta_output_results.m +++ b/compass_lin_extrema_vs_theta_output_results.m @@ -82,21 +82,33 @@ x_combo(ind)=1; y_combo(ind)=0; %x_combo = peak_1; %y_combo = peak_2; -surface([x_combo;x_combo], ... - [y_combo;y_combo], ... - [z;z],[col;col],... +ind=thetas<=pi/2; + +surface([x_combo(ind);x_combo(ind)], ... + [y_combo(ind);y_combo(ind)], ... + [z(ind);z(ind)],[col(ind);col(ind)],... 'facecol','no',... 'edgecol','interp',... 'linew',2); +%surface([x_combo;x_combo], ... + %[y_combo;y_combo], ... + %[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}); xlabel('Sideband ratio: a_3/(a_0+a_3)'); ylabel('Sideband ratio: a_0/(a_0+a_3)'); %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'}) +cbh=colorbar; +ceps=4e-2; % somehow it does not show if it is flashed +set(cbh,'YTick', [0,pi/4, pi/2-ceps]); % y octave uses YTick for colorbar? +set(cbh,'YTickLabel', {'0', '\pi/4', '\pi/2'}) +title(cbh,'\theta') +%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']) |