summaryrefslogtreecommitdiff
path: root/src/d_wektory_wlasne.py
diff options
context:
space:
mode:
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()