[rkward-cvs] SF.net SVN: rkward: [1308] trunk/rkward/rkward/plugins/plots/plot_options. php
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Sun Feb 4 22:14:39 UTC 2007
Revision: 1308
http://svn.sourceforge.net/rkward/?rev=1308&view=rev
Author: tfry
Date: 2007-02-04 14:14:39 -0800 (Sun, 04 Feb 2007)
Log Message:
-----------
Aesthetics
Modified Paths:
--------------
trunk/rkward/rkward/plugins/plots/plot_options.php
Modified: trunk/rkward/rkward/plugins/plots/plot_options.php
===================================================================
--- trunk/rkward/rkward/plugins/plots/plot_options.php 2007-02-04 21:54:48 UTC (rev 1307)
+++ trunk/rkward/rkward/plugins/plots/plot_options.php 2007-02-04 22:14:39 UTC (rev 1308)
@@ -44,10 +44,10 @@
$xmaxvalue = getRK_val ("xmaxvalue");
if (($xminvalue != "") || ($xmaxvalue != "")) {
$xlim = ", xlim=c (";
- if ($xminvalue == "") $xlim .= "min (" . $xvar . ")";
+ if (($xminvalue == "") && ($xvar != "")) $xlim .= "min (" . $xvar . ")";
else $xlim .= $xminvalue;
$xlim .= ", ";
- if ($xmaxvalue == "") $xlim .= "max (" . $xvar . ")";
+ if (($xmaxvalue == "") && ($xvar != "")) $xlim .= "max (" . $xvar . ")";
else $xlim .= $xmaxvalue;
$xlim .= ")";
}
@@ -69,10 +69,10 @@
$ymaxvalue = getRK_val ("ymaxvalue");
if (($yminvalue != "") || ($ymaxvalue != "")) {
$ylim = ", ylim=c (";
- if ($yminvalue == "") $ylim .= "min (" . $yvar . ")";
+ if (($yminvalue == "") && ($yvar != "")) $ylim .= "min (" . $yvar . ")";
else $ylim .= $yminvalue;
$ylim .= ", ";
- if ($ymaxvalue == "") $ylim .= "max (" . $yvar . ")";
+ if (($ymaxvalue == "") && ($yvar != "")) $ylim .= "max (" . $yvar . ")";
else $ylim .= $ymaxvalue;
$ylim .= ")";
}
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