summaryrefslogtreecommitdiff
path: root/src/d_wektory_wlasne.py
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2020-02-16 11:14:09 +0100
committerPaweł Redman <pawel.redman@gmail.com>2020-02-16 11:18:55 +0100
commit87eb67408f9230315494a8cf66fe264196a04ad0 (patch)
tree63ee9d8b92b7cffaa38d83b4222ffd1e391eb75b /src/d_wektory_wlasne.py
Ostateczna wersja pracy dyplomowejHEADmaster
Diffstat (limited to 'src/d_wektory_wlasne.py')
-rw-r--r--src/d_wektory_wlasne.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/d_wektory_wlasne.py b/src/d_wektory_wlasne.py
new file mode 100644
index 0000000..4bcdd66
--- /dev/null
+++ b/src/d_wektory_wlasne.py
@@ -0,0 +1,16 @@
+from shared import *
+import crl, crl.tables
+
+plot_setup(width=0.7)
+
+for i in range(3):
+ plt.plot(crl.tables.D_eigenvectors[:, 0],
+ crl.tables.D_eigenvectors[:, i + 1],
+ ["k", "b", "g"][i] , label="$S_%d(\\lambda)$" % i)
+
+plt.xlabel("$\\lambda$ [nm]")
+plt.ylabel("$n_\\lambda(\\lambda)$")
+plt.xlim(300, 830)
+plt.legend()
+plot_grid()
+plot_export()