update digi current plot
authorDan White <dan@whiteaudio.com>
Mon, 10 Feb 2014 07:36:18 +0000 (01:36 -0600)
committerDan White <dan@whiteaudio.com>
Mon, 10 Feb 2014 07:36:18 +0000 (01:36 -0600)
python-lib/test-data/matplotlibrc [new symlink]
python-lib/test-data/vdd_digi-supply-current.pdf
python-lib/test-data/vdd_digi-supply-current.py [new file with mode: 0644]

diff --git a/python-lib/test-data/matplotlibrc b/python-lib/test-data/matplotlibrc
new file mode 120000 (symlink)
index 0000000..69adcc5
--- /dev/null
@@ -0,0 +1 @@
+chip14/arb0/vios-offset-gm/matplotlibrc
\ No newline at end of file
index 04085d30daa7042a8fed6c9d4fe9d212df1f1755..79ef7d49184a650299ec53200f43a578650a2dc9 100644 (file)
Binary files a/python-lib/test-data/vdd_digi-supply-current.pdf and b/python-lib/test-data/vdd_digi-supply-current.pdf differ
diff --git a/python-lib/test-data/vdd_digi-supply-current.py b/python-lib/test-data/vdd_digi-supply-current.py
new file mode 100644 (file)
index 0000000..01ea2c3
--- /dev/null
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+
+from pylab import *
+
+
+d = np.load('vdd_digi-supply-current.npz')
+
+vx = d['vx']
+ix = d['ix']
+
+
+figure(figsize=(4.5, 2.5))
+subplots_adjust(top=0.98, bottom=0.16, left=0.12, right=0.98)
+plot(vx, 1e3*ix, '.-')
+
+xlim((0, 1.3))
+ylim((0, 22))
+
+xlabel('$V_{DD}$ (V)')
+ylabel('$I_{DD}$ (mA)')
+
+savefig('vdd_digi-supply-current.pdf')