From c680b440e6963ab1f507ca0fcefdc3ce982db8af Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Mon, 21 Dec 2009 22:48:07 +0000 Subject: calculation of total absorption is added --- output_results.m | 44 +++++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 17 deletions(-) (limited to 'output_results.m') diff --git a/output_results.m b/output_results.m index a743707..22bab0b 100644 --- a/output_results.m +++ b/output_results.m @@ -1,21 +1,31 @@ 1; -load 'xi_vs_detuning.mat' ; -figure(1); - hold off; - plot(detuning_freq, imag(xi_linear), '-1;linear;'); - hold on; - plot(detuning_freq, imag(xi_left), '-2;left;'); - plot(detuning_freq, imag(xi_right), '-3;right;'); - title("probe absorption"); - hold off; -figure(2); - hold off; - plot(detuning_freq, real(xi_linear), '-1;linear;'); - hold on; - plot(detuning_freq, real(xi_left), '-2;left;'); - plot(detuning_freq, real(xi_right), '-3;right;'); - title("probe dispersion"); - hold off; +load 'total_absorption_vs_detuning.mat' ; + +zoom_factor=1e3; +figure(1); +hold off; +plot(detuning_freq, zoom_factor*total_absorption_vs_detuning, '-'); +title("total absorption"); +xlabel("two photon detuning"); + +%load 'xi_vs_detuning.mat' ; + +%figure(1); + %hold off; + %plot(detuning_freq, imag(xi_linear), '-1;linear;'); + %hold on; + %plot(detuning_freq, imag(xi_left), '-2;left;'); + %plot(detuning_freq, imag(xi_right), '-3;right;'); + %title("probe absorption"); + %hold off; +%figure(2); + %hold off; + %plot(detuning_freq, real(xi_linear), '-1;linear;'); + %hold on; + %plot(detuning_freq, real(xi_left), '-2;left;'); + %plot(detuning_freq, real(xi_right), '-3;right;'); + %title("probe dispersion"); + %hold off; -- cgit v1.2.3