projects
/
calibcant.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
524f08c
)
Use tight autoscalling for analyze plots.
author
W. Trevor King
<wking@tremily.us>
Fri, 20 Apr 2012 17:06:54 +0000
(13:06 -0400)
committer
W. Trevor King
<wking@tremily.us>
Fri, 20 Apr 2012 17:06:54 +0000
(13:06 -0400)
calibcant/analyze.py
patch
|
blob
|
history
diff --git
a/calibcant/analyze.py
b/calibcant/analyze.py
index 67d6908418321369350094e39bf225af04d10b29..0fa917b6d205d69310da31fd56b468a26c07cc3f 100644
(file)
--- a/
calibcant/analyze.py
+++ b/
calibcant/analyze.py
@@
-174,10
+174,13
@@
def plot(bumps, temperatures, vibrations):
timestamp = _time.strftime('%H%M%S')
bump_axes.set_title('cantilever calibration %s' % timestamp)
+ bump_axes.autoscale(tight=True)
bump_axes.plot(bumps, 'g.-')
bump_axes.set_ylabel('photodiode sensitivity (V/m)')
+ T_axes.autoscale(tight=True)
T_axes.plot(temperatures, 'r.-')
T_axes.set_ylabel('temperature (K)')
+ vib_axes.autoscale(tight=True)
vib_axes.plot(vibrations, 'b.-')
vib_axes.set_ylabel('thermal deflection variance (V^2)')