[rkward-cvs] SF.net SVN: rkward: [1121] trunk/rkward/rkward/plugins/plots/histogram.php
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Thu Jan 11 16:41:05 UTC 2007
Revision: 1121
http://svn.sourceforge.net/rkward/?rev=1121&view=rev
Author: tfry
Date: 2007-01-11 08:41:05 -0800 (Thu, 11 Jan 2007)
Log Message:
-----------
Fix integer breaks algorithm in history plugin
Modified Paths:
--------------
trunk/rkward/rkward/plugins/plots/histogram.php
Modified: trunk/rkward/rkward/plugins/plots/histogram.php
===================================================================
--- trunk/rkward/rkward/plugins/plots/histogram.php 2007-01-11 16:18:28 UTC (rev 1120)
+++ trunk/rkward/rkward/plugins/plots/histogram.php 2007-01-11 16:41:05 UTC (rev 1121)
@@ -14,7 +14,7 @@
$giveRkern = getRK_val ("giveRkern");
$x = getRK_val ("x");
if ($breaks == "int") {
- $breaksopt = "breaks =seq (as.integer (min (" . $x . "))-0.5, as.integer (max (" . $x ."))+ 0.5)";
+ $breaksopt = "breaks =seq (as.integer (min (" . $x . ")-0.5)-0.5, as.integer (max (" . $x .")+0.5)+ 0.5)";
$breaks = "Integers";
} else if (!empty ($breaks)) {
$breaksopt = "breaks=\"" . $breaks . "\"";
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