[rkward-cvs] SF.net SVN: rkward:[4452] trunk/rkward/rkward/plugins/plots/plot_options.js

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Nov 25 11:20:49 UTC 2012


Revision: 4452
          http://rkward.svn.sourceforge.net/rkward/?rev=4452&view=rev
Author:   tfry
Date:     2012-11-25 11:20:48 +0000 (Sun, 25 Nov 2012)
Log Message:
-----------
Fix setting '0' as min / max

Modified Paths:
--------------
    trunk/rkward/rkward/plugins/plots/plot_options.js

Modified: trunk/rkward/rkward/plugins/plots/plot_options.js
===================================================================
--- trunk/rkward/rkward/plugins/plots/plot_options.js	2012-11-24 19:13:22 UTC (rev 4451)
+++ trunk/rkward/rkward/plugins/plots/plot_options.js	2012-11-25 11:20:48 UTC (rev 4452)
@@ -75,8 +75,8 @@
 	log += getValue ("xlog");
 
 	xlab = prepareLabel ("xlab");
-	xminvalue = getValue ("xminvalue");
-	xmaxvalue = getValue ("xmaxvalue");
+	xminvalue = getString ("xminvalue");
+	xmaxvalue = getString ("xmaxvalue");
 	if ((xminvalue != "") || (xmaxvalue != "")) {
 		xlim = ", xlim=c (";
 		if ((xminvalue == "") && (xvar != "")) xlim += "min (" + xvar + ")";
@@ -96,8 +96,8 @@
 	log += getValue ("ylog");
 
 	ylab = prepareLabel ("ylab");
-	yminvalue = getValue ("yminvalue");
-	ymaxvalue = getValue ("ymaxvalue");
+	yminvalue = getString ("yminvalue");
+	ymaxvalue = getString ("ymaxvalue");
 	if ((yminvalue != "") || (ymaxvalue != "")) {
 		ylim = ", ylim=c (";
 		if ((yminvalue == "") && (yvar != "")) ylim += "min (" + yvar + ")";

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the rkward-tracker mailing list