mailr23171 - /trunk/pipe_control/rdc.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 14, 2014 - 11:36:
Author: bugman
Date: Wed May 14 11:36:17 2014
New Revision: 23171

URL: http://svn.gna.org/viewcvs/relax?rev=23171&view=rev
Log:
Fix for the axis labels in the rdc.corr_plot user function when T data is 
converted to D.


Modified:
    trunk/pipe_control/rdc.py

Modified: trunk/pipe_control/rdc.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/rdc.py?rev=23171&r1=23170&r2=23171&view=diff
==============================================================================
--- trunk/pipe_control/rdc.py   (original)
+++ trunk/pipe_control/rdc.py   Wed May 14 11:36:17 2014
@@ -444,9 +444,10 @@
                     rdc -= interatom.j_coupling
 
                 # A different title and axis labels.
-                if orig_title == None:
-                    title = "T = J+D correlation plot"
-                axis_labels = ["Measured T = J+D (Hz)", "Back-calculated T = 
J+D (Hz)"]
+                else:
+                    if orig_title == None:
+                        title = "T = J+D correlation plot"
+                    axis_labels = ["Measured T = J+D (Hz)", "Back-calculated 
T = J+D (Hz)"]
 
             # Append the data.
             data[-1].append([rdc, rdc_bc])




Related Messages


Powered by MHonArc, Updated Wed May 14 18:40:01 2014