From: Dan White Date: Mon, 10 Feb 2014 07:36:18 +0000 (-0600) Subject: update digi current plot X-Git-Tag: cheetah~31 X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=6335f9ff4fccbbd01e7496acdb427fabd0b47e1a;p=430.git update digi current plot --- diff --git a/python-lib/test-data/matplotlibrc b/python-lib/test-data/matplotlibrc new file mode 120000 index 0000000..69adcc5 --- /dev/null +++ b/python-lib/test-data/matplotlibrc @@ -0,0 +1 @@ +chip14/arb0/vios-offset-gm/matplotlibrc \ No newline at end of file diff --git a/python-lib/test-data/vdd_digi-supply-current.pdf b/python-lib/test-data/vdd_digi-supply-current.pdf index 04085d3..79ef7d4 100644 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 index 0000000..01ea2c3 --- /dev/null +++ b/python-lib/test-data/vdd_digi-supply-current.py @@ -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')