<reponame>chaserhkj/ModPhyLab<filename>Josephson_effect/vt2.py<gh_stars>10-100
from matplotlib import pyplot as plt

x = []
y = []

with open('data3.txt') as f:
    line = f.readline()
    while line:
        x.append(float(line.split(',')[0]))
        y.append(float(line.split(',')[1]))
        line = f.readline()
y = [i/50 for i in y]
plt.xlabel("I/mA")
plt.ylabel("U/$\mu$V")
plt.plot(x, y)
plt.savefig("vt2.pdf")
plt.show()

