tfix axis selection for disabling numeric offset - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
 (HTM) git clone git://src.adamsgaard.dk/sphere
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 996461e2d54e623f253de95ca14b28c262993191
 (DIR) parent 040315a879ff217c2fcde6a4a64e60a87ca3eea4
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       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(-)
       ---
 (DIR) 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)