summaryrefslogtreecommitdiff
path: root/compass_lin_extrema_vs_theta_output_results.m
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2020-10-12 20:54:52 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2020-10-12 20:54:52 -0400
commit8f7adc97282a179df82c4b54802797917dba4961 (patch)
tree43aab748393e8c8cf0f0d050cc37539bf4114308 /compass_lin_extrema_vs_theta_output_results.m
parent78668acddb2a2fbda01711c18b3eb552ca715bdd (diff)
downloadmulti_mode_eit-8f7adc97282a179df82c4b54802797917dba4961.tar.gz
multi_mode_eit-8f7adc97282a179df82c4b54802797917dba4961.zip
redone drawing condition
Diffstat (limited to 'compass_lin_extrema_vs_theta_output_results.m')
-rw-r--r--compass_lin_extrema_vs_theta_output_results.m7
1 files changed, 4 insertions, 3 deletions
diff --git a/compass_lin_extrema_vs_theta_output_results.m b/compass_lin_extrema_vs_theta_output_results.m
index eb151b8..1c82429 100644
--- a/compass_lin_extrema_vs_theta_output_results.m
+++ b/compass_lin_extrema_vs_theta_output_results.m
@@ -33,7 +33,7 @@ line_colors= [ ...
];
figure(1);
-if (exist('keep','var') && keep)
+if (~exist('keep','var') || ~keep)
clf();
end
hold off;
@@ -60,7 +60,7 @@ print('compass_lin_sidebands_vs_theta.png')
hold off;
figure(2)
-if (exist('keep','var') && keep)
+if (~exist('keep','var') || ~keep)
clf();
end
% resonance -3 -2 -1 0 1 2 3
@@ -104,9 +104,10 @@ title('Phase diagram for different angles theta');
print('compass_lin_sidebands_phase_diagram_vs_theta.png')
figure(3)
-if (exist('keep','var') && keep)
+if (~exist('keep','var') || ~keep)
clf();
end
+hold all;
plot(thetas, (x_combo))
set(gca, 'XTick', [0,pi/4, pi/2, 3*pi/4, pi])