Author: tlinnet
Date: Tue Sep 16 02:25:02 2014
New Revision: 25853

URL: http://svn.gna.org/viewcvs/relax?rev=25853&view=rev
Log:
Fix for axis limits when plotting stats.

Task #7826 (https://gna.org/task/index.php?7826): Write an python class for the 
repeated analysis of dispersion data.

Modified:
    trunk/auto_analyses/relax_disp_repeat_cpmg.py

Modified: trunk/auto_analyses/relax_disp_repeat_cpmg.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/auto_analyses/relax_disp_repeat_cpmg.py?rev=25853&r1=25852&r2=25853&view=diff
==============================================================================
--- trunk/auto_analyses/relax_disp_repeat_cpmg.py       (original)
+++ trunk/auto_analyses/relax_disp_repeat_cpmg.py       Tue Sep 16 02:25:02 2014
@@ -1314,13 +1314,13 @@
         #ax1.set_ylabel(r'$\sigma ( R_{2,\mathrm{eff}} )$')
         ax1.set_ylabel('Linear regression slope, without intercept')
         ax1.set_xticks(x)
-        ax1.set_ylim(0.8, max_a*1.05)
+        ax1.set_ylim(min_a*0.95, max_a*1.05)
         ax1.invert_xaxis()
 
         ax2.legend(loc='lower right', shadow=True, prop = fontP)
         ax2.set_ylabel('Sample correlation ' + r'$r_{xy}^2$')
         ax2.set_xticks(x)
-        ax2.set_ylim(0.8, max_r_xy2*1.05)
+        ax2.set_ylim(min_r_xy2*0.95, max_r_xy2*1.05)
         ax2.invert_xaxis()
         if show:
             plt.show()


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to