summaryrefslogtreecommitdiff
path: root/src/d_wektory_wlasne.py
blob: 4bcdd6617acbba7f3ab1c5dc9cd71cc95dadc271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()