mailr27140 - /trunk/test_suite/system_tests/structure.py


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

Header


Content

Posted by edward on December 18, 2014 - 18:57:
Author: bugman
Date: Thu Dec 18 18:57:38 2014
New Revision: 27140

URL: http://svn.gna.org/viewcvs/relax?rev=27140&view=rev
Log:
Updated the Structure.test_atomic_fluctuations_gnuplot system test.

This is for the changes of the gnuplot correlation_matrix() plotting API 
function used by the
structure.atomic_fluctuations user function.


Modified:
    trunk/test_suite/system_tests/structure.py

Modified: trunk/test_suite/system_tests/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/structure.py?rev=27140&r1=27139&r2=27140&view=diff
==============================================================================
--- trunk/test_suite/system_tests/structure.py  (original)
+++ trunk/test_suite/system_tests/structure.py  Thu Dec 18 18:57:38 2014
@@ -368,15 +368,13 @@
 
         # Check the gnuplot file.
         script = [
-            "\n",
-            "# Set the plot type.\n",
-            "set pm3d map\n",
-            "\n",
             "# Set up the terminal type and make the plot square.\n",
             "set terminal postscript eps size 10,10 enhanced color font 
'Helvetica,20' linewidth 0.1\n",
+            "set size square\n",
             "\n",
             "# Blue-red colour map.\n",
-            "set palette defined (0 \"#000090\", 1 \"#000fff\", 2 
\"#0090ff\", 3 \"#0fffee\", 4 \"#90ff70\", 5 \"#ffee00\", 6 \"#ff7000\", 7 
\"#ee0000\", 8 \"#7f0000\")\n",
+            "set palette model RGB\n",
+            "set palette defined\n",
             "\n",
             "# Labels.\n",
             "set xtics out rotate font \",8\" (\":4\\\\@N\" 0, \":4\\\\@CA\" 
1)\n",
@@ -386,7 +384,7 @@
             "set output \"matrix.eps\"\n",
             "\n",
             "# Load and show the text data\n",
-            "splot \"matrix\" matrix\n"
+            "plot \"matrix\" matrix with image\n"
         ]
         file = open("%s%s%s" % (ds.tmpdir, sep, 'matrix.gnu'))
         lines = file.readlines()




Related Messages


Powered by MHonArc, Updated Fri Dec 19 11:00:03 2014