summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--output_results.m7
1 files changed, 4 insertions, 3 deletions
diff --git a/output_results.m b/output_results.m
index d2c08e9..fba2be1 100644
--- a/output_results.m
+++ b/output_results.m
@@ -3,11 +3,12 @@
load 'total_absorption_vs_detuning.mat' ;
-zoom_factor=1e6;
figure(1);
hold off;
-plot(detuning_freq, zoom_factor*(max(total_absorption_vs_detuning)- total_absorption_vs_detuning), '-');
-title("total absorption");
+max_abs=max(total_absorption_vs_detuning);
+zoom_factor=1/max_abs;
+plot(detuning_freq, zoom_factor*(max_abs- total_absorption_vs_detuning), '-');
+title("relative transmission");
xlabel("two photon detuning");
%load 'xi_vs_detuning.mat' ;