Author: bugman
Date: Thu Dec 18 12:30:37 2014
New Revision: 27133
URL: http://svn.gna.org/viewcvs/relax?rev=27133&view=rev
Log:
The gnuplot correlation_matrix() plotting API function now creates a text file
of the data.
The lib.plotting.gnuplot.correlation_matrix() function now calls the
lib.plotting.text.correlation_matrix() function prior to creating the gnuplot
script.
Modified:
trunk/lib/plotting/gnuplot.py
Modified: trunk/lib/plotting/gnuplot.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/lib/plotting/gnuplot.py?rev=27133&r1=27132&r2=27133&view=diff
==============================================================================
--- trunk/lib/plotting/gnuplot.py (original)
+++ trunk/lib/plotting/gnuplot.py Thu Dec 18 12:30:37 2014
@@ -24,6 +24,7 @@
# relax module imports.
from lib.io import open_write_file, swap_extension
+from lib.plotting import text
def correlation_matrix(matrix=None, labels=None, file=None, dir=None,
force=False):
@@ -39,7 +40,10 @@
@type dir: str or None
"""
- # The script file name.
+ # Generate the text file for loading into gnuplot.
+ text.correlation_matrix(matrix=matrix, labels=labels, file=file, dir=dir,
force=force)
+
+ # The script file name, with a swapped extension.
file_name = swap_extension(file=file, ext='gnu')
# Open the script file for writing.
_______________________________________________
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