diff options
author | Blaise Thompson <blaise@untzag.com> | 2020-01-29 16:15:54 -0600 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2020-01-29 16:15:54 -0600 |
commit | 821d54537fef8f7496de7c83d79c1c655ce3a07b (patch) | |
tree | c864c24fffd9edcc652f145dbb75aafeb96f8f63 /data/2018-11-14/workup.py | |
parent | 30c90e7349294ab25481bf4996bca3b7374fb16f (diff) |
daughter
Diffstat (limited to 'data/2018-11-14/workup.py')
-rw-r--r-- | data/2018-11-14/workup.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/data/2018-11-14/workup.py b/data/2018-11-14/workup.py deleted file mode 100644 index 9103bdf..0000000 --- a/data/2018-11-14/workup.py +++ /dev/null @@ -1,25 +0,0 @@ -import pathlib -import numpy as np -import matplotlib.pyplot as plt - -__here__ = pathlib.Path(__file__).parent - -xi, r, l = np.genfromtxt('load.txt', delimiter=',').T - -plt.plot(xi, r) -plt.scatter(xi, r, label='right') -plt.plot(xi, l) -plt.scatter(xi, l, label='left') - -plt.xlabel('load resistance (ohms)') -plt.ylabel('applied voltage (mV)') -plt.grid() -plt.plot(xi, xi, c='k', alpha=0.5, lw=0.5) - -plt.ylim(0, 20000) -plt.xlim(0, 100000) - -plt.legend() - -plt.savefig('load.png', dpi=300, transparent=True) -plt.close() |