mailr27197 - /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 January 16, 2015 - 17:33:
Author: bugman
Date: Fri Jan 16 17:33:56 2015
New Revision: 27197

URL: http://svn.gna.org/viewcvs/relax?rev=27197&view=rev
Log:
Fix for the rdc.corr_plot user function.

The Y-axis is now set to the measured RDC, as the RDC errors are plotted as 
dY errors.  This matches
the behaviour of the pcs.corr_plot user function.


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=27197&r1=27196&r2=27197&view=diff
==============================================================================
--- trunk/pipe_control/rdc.py   (original)
+++ trunk/pipe_control/rdc.py   Fri Jan 16 17:33:56 2015
@@ -410,7 +410,7 @@
     orig_title = title
     if orig_title == None:
         title = "RDC correlation plot"
-    axis_labels = ["Measured RDC (Hz)", "Back-calculated RDC (Hz)"]
+    axis_labels = ["Back-calculated RDC (Hz)", "Measured RDC (Hz)"]
 
     # The diagonal.
     data.append([[-100, -100, 0], [100, 100, 0]])
@@ -452,7 +452,7 @@
                     axis_labels = ["Measured T = J+D (Hz)", "Back-calculated 
T = J+D (Hz)"]
 
             # Append the data.
-            data[-1].append([rdc, rdc_bc])
+            data[-1].append([rdc_bc, rdc])
 
             # Errors.
             if err_flag:




Related Messages


Powered by MHonArc, Updated Fri Jan 16 18:40:02 2015