Introduction
Introduction Statistics Contact Development Disclaimer Help
tfix axis selection for disabling numeric offset - sphere - GPU-based 3D discre…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 996461e2d54e623f253de95ca14b28c262993191
parent 040315a879ff217c2fcde6a4a64e60a87ca3eea4
Author: Anders Damsgaard <[email protected]>
Date: Thu, 4 Sep 2014 13:45:52 +0200
fix axis selection for disabling numeric offset
Diffstat:
M python/diffusivity-results.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python/diffusivity-results.py b/python/diffusivity-results.py
t@@ -49,13 +49,13 @@ ax1.plot(load, alpha, 'o-k')
ax1.set_xlabel('Normal stress $\\sigma_0$ [kPa]')
ax1.set_ylabel('Hydraulic diffusivity $\\alpha$ [m$^2$s$^{-1}$]')
#ax1.ticklabel_format(style='plain', axis='y')
-ax1.get_xaxis().get_major_formatter().set_useOffset(False)
#ax1.grid()
ax2 = ax1.twinx()
color = 'b'
ax2.plot(load, phi_bar, 'o--' + color)
ax2.set_ylabel('Mean porosity $\\bar{\\phi}$ [-]', color=color)
+ax2.get_yaxis().get_major_formatter().set_useOffset(False)
for tl in ax2.get_yticklabels():
tl.set_color(color)
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.