diff options
author | Hunter Rew <hbrew@email.wm.edu> | 2014-04-23 22:44:37 -0400 |
---|---|---|
committer | Hunter Rew <hbrew@email.wm.edu> | 2014-04-23 22:44:37 -0400 |
commit | ee48a590f2b518adc4d478f4c68c95fdfede8385 (patch) | |
tree | 68cbb275247c952d9b14cd9447ba2637aad40041 /loadSimulation.m | |
parent | addbb92ff06b21d2188eeefdb17692beb85e4b1c (diff) | |
download | eit_filter_simulations-master.tar.gz eit_filter_simulations-master.zip |
Diffstat (limited to 'loadSimulation.m')
-rw-r--r-- | loadSimulation.m | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/loadSimulation.m b/loadSimulation.m index e5f0be3..2626cdb 100644 --- a/loadSimulation.m +++ b/loadSimulation.m @@ -2,6 +2,10 @@ function [width, minAbsorption, detunings, absorptions] = loadSimulation(dataFil data = load(dataFile); detunings = data(:,1); absorptions = data(:,2); - [width, minAbsorption] = getPeak(detunings, absorptions); - plot(detunings, absorptions); + [width, minAbsorption, transmission, features] = getPeak(detunings, absorptions); + figure + hold all + plot(detunings, absorptions) + plot(features(:,1), features(:,2), 'r*') + end
\ No newline at end of file |